From 149ce1e2bea1e4648a4640802fc2ebf9712def21 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 20 Aug 2024 12:15:27 -0400 Subject: [PATCH 01/39] check in PoC with capabilities --- capabilities/eopa/capabilities.go | 80 + capabilities/eopa/capabilities_test.go | 36 + capabilities/eopa/update-eopa-caps.sh | 21 + capabilities/eopa/v0.100.8.json | 4466 ++++++++++++++++++++ capabilities/eopa/v0.101.0.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.101.1.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.102.0.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.102.1.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.102.2.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.102.3.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.102.4.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.102.5.json | 4598 +++++++++++++++++++++ capabilities/eopa/v0.15.0.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.0.0.json | 4598 +++++++++++++++++++++ capabilities/eopa/v1.0.1.json | 4598 +++++++++++++++++++++ capabilities/eopa/v1.1.0.json | 4598 +++++++++++++++++++++ capabilities/eopa/v1.10.0.json | 5082 +++++++++++++++++++++++ capabilities/eopa/v1.10.1.json | 5082 +++++++++++++++++++++++ capabilities/eopa/v1.11.0.json | 5144 ++++++++++++++++++++++++ capabilities/eopa/v1.11.1.json | 5144 ++++++++++++++++++++++++ capabilities/eopa/v1.12.0.json | 5144 ++++++++++++++++++++++++ capabilities/eopa/v1.13.0.json | 4918 ++++++++++++++++++++++ capabilities/eopa/v1.14.0.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.15.1.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.15.2.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.15.3.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.15.4.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.15.5.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.16.0.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.17.0.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.17.1.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.17.2.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.18.0.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.18.1.json | 4975 +++++++++++++++++++++++ capabilities/eopa/v1.19.0.json | 5006 +++++++++++++++++++++++ capabilities/eopa/v1.2.0.json | 4598 +++++++++++++++++++++ capabilities/eopa/v1.20.0.json | 5050 +++++++++++++++++++++++ capabilities/eopa/v1.21.0.json | 5095 +++++++++++++++++++++++ capabilities/eopa/v1.22.0.json | 5095 +++++++++++++++++++++++ capabilities/eopa/v1.23.0.json | 5095 +++++++++++++++++++++++ capabilities/eopa/v1.24.0.json | 5112 +++++++++++++++++++++++ capabilities/eopa/v1.24.1.json | 5112 +++++++++++++++++++++++ capabilities/eopa/v1.24.2.json | 5112 +++++++++++++++++++++++ capabilities/eopa/v1.24.3.json | 5112 +++++++++++++++++++++++ capabilities/eopa/v1.24.4.json | 5112 +++++++++++++++++++++++ capabilities/eopa/v1.24.5.json | 5112 +++++++++++++++++++++++ capabilities/eopa/v1.3.0.json | 4615 +++++++++++++++++++++ capabilities/eopa/v1.4.0.json | 4677 +++++++++++++++++++++ capabilities/eopa/v1.5.1.json | 4702 ++++++++++++++++++++++ capabilities/eopa/v1.6.0.json | 4702 ++++++++++++++++++++++ capabilities/eopa/v1.7.0.json | 4702 ++++++++++++++++++++++ capabilities/eopa/v1.8.0.json | 4727 ++++++++++++++++++++++ capabilities/eopa/v1.9.0.json | 5060 +++++++++++++++++++++++ capabilities/eopa/v1.9.1.json | 5060 +++++++++++++++++++++++ capabilities/eopa/v1.9.2.json | 5060 +++++++++++++++++++++++ capabilities/eopa/v1.9.3.json | 5060 +++++++++++++++++++++++ capabilities/eopa/v1.9.4.json | 5060 +++++++++++++++++++++++ capabilities/eopa/v1.9.5.json | 5060 +++++++++++++++++++++++ pkg/config/config.go | 18 +- 59 files changed, 269481 insertions(+), 3 deletions(-) create mode 100644 capabilities/eopa/capabilities.go create mode 100644 capabilities/eopa/capabilities_test.go create mode 100755 capabilities/eopa/update-eopa-caps.sh create mode 100644 capabilities/eopa/v0.100.8.json create mode 100644 capabilities/eopa/v0.101.0.json create mode 100644 capabilities/eopa/v0.101.1.json create mode 100644 capabilities/eopa/v0.102.0.json create mode 100644 capabilities/eopa/v0.102.1.json create mode 100644 capabilities/eopa/v0.102.2.json create mode 100644 capabilities/eopa/v0.102.3.json create mode 100644 capabilities/eopa/v0.102.4.json create mode 100644 capabilities/eopa/v0.102.5.json create mode 100644 capabilities/eopa/v0.15.0.json create mode 100644 capabilities/eopa/v1.0.0.json create mode 100644 capabilities/eopa/v1.0.1.json create mode 100644 capabilities/eopa/v1.1.0.json create mode 100644 capabilities/eopa/v1.10.0.json create mode 100644 capabilities/eopa/v1.10.1.json create mode 100644 capabilities/eopa/v1.11.0.json create mode 100644 capabilities/eopa/v1.11.1.json create mode 100644 capabilities/eopa/v1.12.0.json create mode 100644 capabilities/eopa/v1.13.0.json create mode 100644 capabilities/eopa/v1.14.0.json create mode 100644 capabilities/eopa/v1.15.1.json create mode 100644 capabilities/eopa/v1.15.2.json create mode 100644 capabilities/eopa/v1.15.3.json create mode 100644 capabilities/eopa/v1.15.4.json create mode 100644 capabilities/eopa/v1.15.5.json create mode 100644 capabilities/eopa/v1.16.0.json create mode 100644 capabilities/eopa/v1.17.0.json create mode 100644 capabilities/eopa/v1.17.1.json create mode 100644 capabilities/eopa/v1.17.2.json create mode 100644 capabilities/eopa/v1.18.0.json create mode 100644 capabilities/eopa/v1.18.1.json create mode 100644 capabilities/eopa/v1.19.0.json create mode 100644 capabilities/eopa/v1.2.0.json create mode 100644 capabilities/eopa/v1.20.0.json create mode 100644 capabilities/eopa/v1.21.0.json create mode 100644 capabilities/eopa/v1.22.0.json create mode 100644 capabilities/eopa/v1.23.0.json create mode 100644 capabilities/eopa/v1.24.0.json create mode 100644 capabilities/eopa/v1.24.1.json create mode 100644 capabilities/eopa/v1.24.2.json create mode 100644 capabilities/eopa/v1.24.3.json create mode 100644 capabilities/eopa/v1.24.4.json create mode 100644 capabilities/eopa/v1.24.5.json create mode 100644 capabilities/eopa/v1.3.0.json create mode 100644 capabilities/eopa/v1.4.0.json create mode 100644 capabilities/eopa/v1.5.1.json create mode 100644 capabilities/eopa/v1.6.0.json create mode 100644 capabilities/eopa/v1.7.0.json create mode 100644 capabilities/eopa/v1.8.0.json create mode 100644 capabilities/eopa/v1.9.0.json create mode 100644 capabilities/eopa/v1.9.1.json create mode 100644 capabilities/eopa/v1.9.2.json create mode 100644 capabilities/eopa/v1.9.3.json create mode 100644 capabilities/eopa/v1.9.4.json create mode 100644 capabilities/eopa/v1.9.5.json diff --git a/capabilities/eopa/capabilities.go b/capabilities/eopa/capabilities.go new file mode 100644 index 00000000..89d03bd5 --- /dev/null +++ b/capabilities/eopa/capabilities.go @@ -0,0 +1,80 @@ +// Copyright 2021 The OPA Authors. All rights reserved. +// Use of this source code is governed by an Apache2 +// license that can be found in the LICENSE file. + +//go:build go1.16 +// +build go1.16 + +package capabilities + +import ( + "bytes" + "embed" + "fmt" + "io" + "os" + "strings" + + "github.com/open-policy-agent/opa/util" + + "github.com/open-policy-agent/opa/ast" +) + +// FS contains the embedded capabilities/ directory of the built version, +// which has all the capabilities of previous versions: +// "v0.18.0.json" contains the capabilities JSON of version v0.18.0, etc +// +//go:embed *.json +var FS embed.FS + +// LoadCapabilitiesJSON loads a JSON serialized capabilities structure from the reader r. +func LoadCapabilitiesJSON(r io.Reader) (*ast.Capabilities, error) { + d := util.NewJSONDecoder(r) + var c ast.Capabilities + return &c, d.Decode(&c) +} + +// LoadCapabilitiesVersion loads a JSON serialized capabilities structure from the specific version. +func LoadCapabilitiesVersion(version string) (*ast.Capabilities, error) { + cvs, err := LoadCapabilitiesVersions() + if err != nil { + return nil, err + } + + for _, cv := range cvs { + if cv == version { + cont, err := FS.ReadFile(cv + ".json") + if err != nil { + return nil, err + } + + return LoadCapabilitiesJSON(bytes.NewReader(cont)) + } + + } + return nil, fmt.Errorf("(Regal embedded EOPA capabilities library) no capabilities version found %v", version) +} + +// LoadCapabilitiesFile loads a JSON serialized capabilities structure from a file. +func LoadCapabilitiesFile(file string) (*ast.Capabilities, error) { + fd, err := os.Open(file) + if err != nil { + return nil, err + } + defer fd.Close() + return LoadCapabilitiesJSON(fd) +} + +// LoadCapabilitiesVersions loads all capabilities versions +func LoadCapabilitiesVersions() ([]string, error) { + ents, err := FS.ReadDir(".") + if err != nil { + return nil, err + } + + capabilitiesVersions := make([]string, 0, len(ents)) + for _, ent := range ents { + capabilitiesVersions = append(capabilitiesVersions, strings.Replace(ent.Name(), ".json", "", 1)) + } + return capabilitiesVersions, nil +} diff --git a/capabilities/eopa/capabilities_test.go b/capabilities/eopa/capabilities_test.go new file mode 100644 index 00000000..f815539a --- /dev/null +++ b/capabilities/eopa/capabilities_test.go @@ -0,0 +1,36 @@ +// Copyright 2021 The OPA Authors. All rights reserved. +// Use of this source code is governed by an Apache2 +// license that can be found in the LICENSE file. + +//go:build go1.16 +// +build go1.16 + +package capabilities_test + +import ( + "testing" + + "github.com/open-policy-agent/opa/capabilities" + "github.com/open-policy-agent/opa/util" +) + +func TestCapabilitiesEmbedded(t *testing.T) { + ents, err := capabilities.FS.ReadDir(".") + if err != nil { + t.Fatal(err) + } + if len(ents) == 0 { + t.Error("expected capabilities to be present") + } + for _, ent := range ents { + cont, err := capabilities.FS.ReadFile(ent.Name()) + if err != nil { + t.Errorf("file %v: %v", ent.Name(), err) + } + var x interface{} + err = util.UnmarshalJSON(cont, &x) + if err != nil { + t.Errorf("file %v: %v", ent.Name(), err) + } + } +} diff --git a/capabilities/eopa/update-eopa-caps.sh b/capabilities/eopa/update-eopa-caps.sh new file mode 100755 index 00000000..a1a32f32 --- /dev/null +++ b/capabilities/eopa/update-eopa-caps.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e +set -u +set -o pipefail + +TEMP="$(mktemp -d)" +trap "rm -rf '$TEMP'" EXIT + +cd "$(dirname "$0")" +dest="$(pwd)" + +cd "$TEMP" + +set -x + +git clone https://github.com/StyraInc/enterprise-opa.git > "$TEMP/clone.log" 2>&1 + +cp -R "$TEMP/enterprise-opa/capabilities"/*.json "$dest" + + diff --git a/capabilities/eopa/v0.100.8.json b/capabilities/eopa/v0.100.8.json new file mode 100644 index 00000000..9c012de7 --- /dev/null +++ b/capabilities/eopa/v0.100.8.json @@ -0,0 +1,4466 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.101.0.json b/capabilities/eopa/v0.101.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.101.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.101.1.json b/capabilities/eopa/v0.101.1.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.101.1.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.102.0.json b/capabilities/eopa/v0.102.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.102.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.102.1.json b/capabilities/eopa/v0.102.1.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.102.1.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.102.2.json b/capabilities/eopa/v0.102.2.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.102.2.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.102.3.json b/capabilities/eopa/v0.102.3.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.102.3.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.102.4.json b/capabilities/eopa/v0.102.4.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.102.4.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.102.5.json b/capabilities/eopa/v0.102.5.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v0.102.5.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v0.15.0.json b/capabilities/eopa/v0.15.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v0.15.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.0.0.json b/capabilities/eopa/v1.0.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v1.0.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.0.1.json b/capabilities/eopa/v1.0.1.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v1.0.1.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.1.0.json b/capabilities/eopa/v1.1.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v1.1.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.10.0.json b/capabilities/eopa/v1.10.0.json new file mode 100644 index 00000000..41c3f8ee --- /dev/null +++ b/capabilities/eopa/v1.10.0.json @@ -0,0 +1,5082 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.10.1.json b/capabilities/eopa/v1.10.1.json new file mode 100644 index 00000000..41c3f8ee --- /dev/null +++ b/capabilities/eopa/v1.10.1.json @@ -0,0 +1,5082 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.11.0.json b/capabilities/eopa/v1.11.0.json new file mode 100644 index 00000000..7dc18dac --- /dev/null +++ b/capabilities/eopa/v1.11.0.json @@ -0,0 +1,5144 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.11.1.json b/capabilities/eopa/v1.11.1.json new file mode 100644 index 00000000..7dc18dac --- /dev/null +++ b/capabilities/eopa/v1.11.1.json @@ -0,0 +1,5144 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.12.0.json b/capabilities/eopa/v1.12.0.json new file mode 100644 index 00000000..7dc18dac --- /dev/null +++ b/capabilities/eopa/v1.12.0.json @@ -0,0 +1,5144 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.13.0.json b/capabilities/eopa/v1.13.0.json new file mode 100644 index 00000000..f62c865e --- /dev/null +++ b/capabilities/eopa/v1.13.0.json @@ -0,0 +1,4918 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes" + ] +} diff --git a/capabilities/eopa/v1.14.0.json b/capabilities/eopa/v1.14.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.14.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.15.1.json b/capabilities/eopa/v1.15.1.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.15.1.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.15.2.json b/capabilities/eopa/v1.15.2.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.15.2.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.15.3.json b/capabilities/eopa/v1.15.3.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.15.3.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.15.4.json b/capabilities/eopa/v1.15.4.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.15.4.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.15.5.json b/capabilities/eopa/v1.15.5.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.15.5.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.16.0.json b/capabilities/eopa/v1.16.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.16.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.17.0.json b/capabilities/eopa/v1.17.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.17.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.17.1.json b/capabilities/eopa/v1.17.1.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.17.1.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.17.2.json b/capabilities/eopa/v1.17.2.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.17.2.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.18.0.json b/capabilities/eopa/v1.18.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.18.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.18.1.json b/capabilities/eopa/v1.18.1.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/capabilities/eopa/v1.18.1.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.19.0.json b/capabilities/eopa/v1.19.0.json new file mode 100644 index 00000000..21d240aa --- /dev/null +++ b/capabilities/eopa/v1.19.0.json @@ -0,0 +1,5006 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.2.0.json b/capabilities/eopa/v1.2.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/capabilities/eopa/v1.2.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.20.0.json b/capabilities/eopa/v1.20.0.json new file mode 100644 index 00000000..b71b9d2d --- /dev/null +++ b/capabilities/eopa/v1.20.0.json @@ -0,0 +1,5050 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.21.0.json b/capabilities/eopa/v1.21.0.json new file mode 100644 index 00000000..addb14a5 --- /dev/null +++ b/capabilities/eopa/v1.21.0.json @@ -0,0 +1,5095 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.22.0.json b/capabilities/eopa/v1.22.0.json new file mode 100644 index 00000000..addb14a5 --- /dev/null +++ b/capabilities/eopa/v1.22.0.json @@ -0,0 +1,5095 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.23.0.json b/capabilities/eopa/v1.23.0.json new file mode 100644 index 00000000..addb14a5 --- /dev/null +++ b/capabilities/eopa/v1.23.0.json @@ -0,0 +1,5095 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.24.0.json b/capabilities/eopa/v1.24.0.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/capabilities/eopa/v1.24.0.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.24.1.json b/capabilities/eopa/v1.24.1.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/capabilities/eopa/v1.24.1.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.24.2.json b/capabilities/eopa/v1.24.2.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/capabilities/eopa/v1.24.2.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.24.3.json b/capabilities/eopa/v1.24.3.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/capabilities/eopa/v1.24.3.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.24.4.json b/capabilities/eopa/v1.24.4.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/capabilities/eopa/v1.24.4.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.24.5.json b/capabilities/eopa/v1.24.5.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/capabilities/eopa/v1.24.5.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/capabilities/eopa/v1.3.0.json b/capabilities/eopa/v1.3.0.json new file mode 100644 index 00000000..eeedfeca --- /dev/null +++ b/capabilities/eopa/v1.3.0.json @@ -0,0 +1,4615 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.4.0.json b/capabilities/eopa/v1.4.0.json new file mode 100644 index 00000000..e4ab07ca --- /dev/null +++ b/capabilities/eopa/v1.4.0.json @@ -0,0 +1,4677 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.5.1.json b/capabilities/eopa/v1.5.1.json new file mode 100644 index 00000000..84083237 --- /dev/null +++ b/capabilities/eopa/v1.5.1.json @@ -0,0 +1,4702 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.6.0.json b/capabilities/eopa/v1.6.0.json new file mode 100644 index 00000000..84083237 --- /dev/null +++ b/capabilities/eopa/v1.6.0.json @@ -0,0 +1,4702 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.7.0.json b/capabilities/eopa/v1.7.0.json new file mode 100644 index 00000000..84083237 --- /dev/null +++ b/capabilities/eopa/v1.7.0.json @@ -0,0 +1,4702 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.8.0.json b/capabilities/eopa/v1.8.0.json new file mode 100644 index 00000000..a27e5175 --- /dev/null +++ b/capabilities/eopa/v1.8.0.json @@ -0,0 +1,4727 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.9.0.json b/capabilities/eopa/v1.9.0.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/capabilities/eopa/v1.9.0.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.9.1.json b/capabilities/eopa/v1.9.1.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/capabilities/eopa/v1.9.1.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.9.2.json b/capabilities/eopa/v1.9.2.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/capabilities/eopa/v1.9.2.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.9.3.json b/capabilities/eopa/v1.9.3.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/capabilities/eopa/v1.9.3.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.9.4.json b/capabilities/eopa/v1.9.4.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/capabilities/eopa/v1.9.4.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/capabilities/eopa/v1.9.5.json b/capabilities/eopa/v1.9.5.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/capabilities/eopa/v1.9.5.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/config/config.go b/pkg/config/config.go index 92b4fd7e..1711f5dc 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -12,13 +12,16 @@ import ( "github.com/open-policy-agent/opa/ast" + eopa_caps "github.com/styrainc/regal/capabilities/eopa" + rio "github.com/styrainc/regal/internal/io" ) const ( - capabilitiesEngineOPA = "opa" - keyIgnore = "ignore" - keyLevel = "level" + capabilitiesEngineOPA = "opa" + capabilitiesEngineEOPA = "eopa" + keyIgnore = "ignore" + keyLevel = "level" ) type Config struct { @@ -304,6 +307,15 @@ func (config *Config) UnmarshalYAML(value *yaml.Node) error { config.Capabilities = fromOPACapabilities(*capabilities) } + if capabilitiesEngine != "" && result.Capabilities.From.Engine == capabilitiesEngineEOPA { + capabilities, err := eopa_caps.LoadCapabilitiesVersion(result.Capabilities.From.Version) + if err != nil { + return fmt.Errorf("loading capabilities failed: %w", err) + } + + config.Capabilities = fromOPACapabilities(*capabilities) + } + // by default, use the capabilities from the current OPA if capabilitiesEngine == "" && capabilitiesFile == "" { config.Capabilities = CapabilitiesForThisVersion() From 88f1ab0239120f509600651bc2bd9ce10bacb79f Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 20 Aug 2024 12:16:15 -0400 Subject: [PATCH 02/39] remove eopa capabilities --- capabilities/eopa/capabilities.go | 80 - capabilities/eopa/capabilities_test.go | 36 - capabilities/eopa/update-eopa-caps.sh | 21 - capabilities/eopa/v0.100.8.json | 4466 -------------------- capabilities/eopa/v0.101.0.json | 4598 --------------------- capabilities/eopa/v0.101.1.json | 4598 --------------------- capabilities/eopa/v0.102.0.json | 4598 --------------------- capabilities/eopa/v0.102.1.json | 4598 --------------------- capabilities/eopa/v0.102.2.json | 4598 --------------------- capabilities/eopa/v0.102.3.json | 4598 --------------------- capabilities/eopa/v0.102.4.json | 4598 --------------------- capabilities/eopa/v0.102.5.json | 4598 --------------------- capabilities/eopa/v0.15.0.json | 4975 ----------------------- capabilities/eopa/v1.0.0.json | 4598 --------------------- capabilities/eopa/v1.0.1.json | 4598 --------------------- capabilities/eopa/v1.1.0.json | 4598 --------------------- capabilities/eopa/v1.10.0.json | 5082 ----------------------- capabilities/eopa/v1.10.1.json | 5082 ----------------------- capabilities/eopa/v1.11.0.json | 5144 ------------------------ capabilities/eopa/v1.11.1.json | 5144 ------------------------ capabilities/eopa/v1.12.0.json | 5144 ------------------------ capabilities/eopa/v1.13.0.json | 4918 ---------------------- capabilities/eopa/v1.14.0.json | 4975 ----------------------- capabilities/eopa/v1.15.1.json | 4975 ----------------------- capabilities/eopa/v1.15.2.json | 4975 ----------------------- capabilities/eopa/v1.15.3.json | 4975 ----------------------- capabilities/eopa/v1.15.4.json | 4975 ----------------------- capabilities/eopa/v1.15.5.json | 4975 ----------------------- capabilities/eopa/v1.16.0.json | 4975 ----------------------- capabilities/eopa/v1.17.0.json | 4975 ----------------------- capabilities/eopa/v1.17.1.json | 4975 ----------------------- capabilities/eopa/v1.17.2.json | 4975 ----------------------- capabilities/eopa/v1.18.0.json | 4975 ----------------------- capabilities/eopa/v1.18.1.json | 4975 ----------------------- capabilities/eopa/v1.19.0.json | 5006 ----------------------- capabilities/eopa/v1.2.0.json | 4598 --------------------- capabilities/eopa/v1.20.0.json | 5050 ----------------------- capabilities/eopa/v1.21.0.json | 5095 ----------------------- capabilities/eopa/v1.22.0.json | 5095 ----------------------- capabilities/eopa/v1.23.0.json | 5095 ----------------------- capabilities/eopa/v1.24.0.json | 5112 ----------------------- capabilities/eopa/v1.24.1.json | 5112 ----------------------- capabilities/eopa/v1.24.2.json | 5112 ----------------------- capabilities/eopa/v1.24.3.json | 5112 ----------------------- capabilities/eopa/v1.24.4.json | 5112 ----------------------- capabilities/eopa/v1.24.5.json | 5112 ----------------------- capabilities/eopa/v1.3.0.json | 4615 --------------------- capabilities/eopa/v1.4.0.json | 4677 --------------------- capabilities/eopa/v1.5.1.json | 4702 ---------------------- capabilities/eopa/v1.6.0.json | 4702 ---------------------- capabilities/eopa/v1.7.0.json | 4702 ---------------------- capabilities/eopa/v1.8.0.json | 4727 ---------------------- capabilities/eopa/v1.9.0.json | 5060 ----------------------- capabilities/eopa/v1.9.1.json | 5060 ----------------------- capabilities/eopa/v1.9.2.json | 5060 ----------------------- capabilities/eopa/v1.9.3.json | 5060 ----------------------- capabilities/eopa/v1.9.4.json | 5060 ----------------------- capabilities/eopa/v1.9.5.json | 5060 ----------------------- 58 files changed, 269466 deletions(-) delete mode 100644 capabilities/eopa/capabilities.go delete mode 100644 capabilities/eopa/capabilities_test.go delete mode 100755 capabilities/eopa/update-eopa-caps.sh delete mode 100644 capabilities/eopa/v0.100.8.json delete mode 100644 capabilities/eopa/v0.101.0.json delete mode 100644 capabilities/eopa/v0.101.1.json delete mode 100644 capabilities/eopa/v0.102.0.json delete mode 100644 capabilities/eopa/v0.102.1.json delete mode 100644 capabilities/eopa/v0.102.2.json delete mode 100644 capabilities/eopa/v0.102.3.json delete mode 100644 capabilities/eopa/v0.102.4.json delete mode 100644 capabilities/eopa/v0.102.5.json delete mode 100644 capabilities/eopa/v0.15.0.json delete mode 100644 capabilities/eopa/v1.0.0.json delete mode 100644 capabilities/eopa/v1.0.1.json delete mode 100644 capabilities/eopa/v1.1.0.json delete mode 100644 capabilities/eopa/v1.10.0.json delete mode 100644 capabilities/eopa/v1.10.1.json delete mode 100644 capabilities/eopa/v1.11.0.json delete mode 100644 capabilities/eopa/v1.11.1.json delete mode 100644 capabilities/eopa/v1.12.0.json delete mode 100644 capabilities/eopa/v1.13.0.json delete mode 100644 capabilities/eopa/v1.14.0.json delete mode 100644 capabilities/eopa/v1.15.1.json delete mode 100644 capabilities/eopa/v1.15.2.json delete mode 100644 capabilities/eopa/v1.15.3.json delete mode 100644 capabilities/eopa/v1.15.4.json delete mode 100644 capabilities/eopa/v1.15.5.json delete mode 100644 capabilities/eopa/v1.16.0.json delete mode 100644 capabilities/eopa/v1.17.0.json delete mode 100644 capabilities/eopa/v1.17.1.json delete mode 100644 capabilities/eopa/v1.17.2.json delete mode 100644 capabilities/eopa/v1.18.0.json delete mode 100644 capabilities/eopa/v1.18.1.json delete mode 100644 capabilities/eopa/v1.19.0.json delete mode 100644 capabilities/eopa/v1.2.0.json delete mode 100644 capabilities/eopa/v1.20.0.json delete mode 100644 capabilities/eopa/v1.21.0.json delete mode 100644 capabilities/eopa/v1.22.0.json delete mode 100644 capabilities/eopa/v1.23.0.json delete mode 100644 capabilities/eopa/v1.24.0.json delete mode 100644 capabilities/eopa/v1.24.1.json delete mode 100644 capabilities/eopa/v1.24.2.json delete mode 100644 capabilities/eopa/v1.24.3.json delete mode 100644 capabilities/eopa/v1.24.4.json delete mode 100644 capabilities/eopa/v1.24.5.json delete mode 100644 capabilities/eopa/v1.3.0.json delete mode 100644 capabilities/eopa/v1.4.0.json delete mode 100644 capabilities/eopa/v1.5.1.json delete mode 100644 capabilities/eopa/v1.6.0.json delete mode 100644 capabilities/eopa/v1.7.0.json delete mode 100644 capabilities/eopa/v1.8.0.json delete mode 100644 capabilities/eopa/v1.9.0.json delete mode 100644 capabilities/eopa/v1.9.1.json delete mode 100644 capabilities/eopa/v1.9.2.json delete mode 100644 capabilities/eopa/v1.9.3.json delete mode 100644 capabilities/eopa/v1.9.4.json delete mode 100644 capabilities/eopa/v1.9.5.json diff --git a/capabilities/eopa/capabilities.go b/capabilities/eopa/capabilities.go deleted file mode 100644 index 89d03bd5..00000000 --- a/capabilities/eopa/capabilities.go +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2021 The OPA Authors. All rights reserved. -// Use of this source code is governed by an Apache2 -// license that can be found in the LICENSE file. - -//go:build go1.16 -// +build go1.16 - -package capabilities - -import ( - "bytes" - "embed" - "fmt" - "io" - "os" - "strings" - - "github.com/open-policy-agent/opa/util" - - "github.com/open-policy-agent/opa/ast" -) - -// FS contains the embedded capabilities/ directory of the built version, -// which has all the capabilities of previous versions: -// "v0.18.0.json" contains the capabilities JSON of version v0.18.0, etc -// -//go:embed *.json -var FS embed.FS - -// LoadCapabilitiesJSON loads a JSON serialized capabilities structure from the reader r. -func LoadCapabilitiesJSON(r io.Reader) (*ast.Capabilities, error) { - d := util.NewJSONDecoder(r) - var c ast.Capabilities - return &c, d.Decode(&c) -} - -// LoadCapabilitiesVersion loads a JSON serialized capabilities structure from the specific version. -func LoadCapabilitiesVersion(version string) (*ast.Capabilities, error) { - cvs, err := LoadCapabilitiesVersions() - if err != nil { - return nil, err - } - - for _, cv := range cvs { - if cv == version { - cont, err := FS.ReadFile(cv + ".json") - if err != nil { - return nil, err - } - - return LoadCapabilitiesJSON(bytes.NewReader(cont)) - } - - } - return nil, fmt.Errorf("(Regal embedded EOPA capabilities library) no capabilities version found %v", version) -} - -// LoadCapabilitiesFile loads a JSON serialized capabilities structure from a file. -func LoadCapabilitiesFile(file string) (*ast.Capabilities, error) { - fd, err := os.Open(file) - if err != nil { - return nil, err - } - defer fd.Close() - return LoadCapabilitiesJSON(fd) -} - -// LoadCapabilitiesVersions loads all capabilities versions -func LoadCapabilitiesVersions() ([]string, error) { - ents, err := FS.ReadDir(".") - if err != nil { - return nil, err - } - - capabilitiesVersions := make([]string, 0, len(ents)) - for _, ent := range ents { - capabilitiesVersions = append(capabilitiesVersions, strings.Replace(ent.Name(), ".json", "", 1)) - } - return capabilitiesVersions, nil -} diff --git a/capabilities/eopa/capabilities_test.go b/capabilities/eopa/capabilities_test.go deleted file mode 100644 index f815539a..00000000 --- a/capabilities/eopa/capabilities_test.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2021 The OPA Authors. All rights reserved. -// Use of this source code is governed by an Apache2 -// license that can be found in the LICENSE file. - -//go:build go1.16 -// +build go1.16 - -package capabilities_test - -import ( - "testing" - - "github.com/open-policy-agent/opa/capabilities" - "github.com/open-policy-agent/opa/util" -) - -func TestCapabilitiesEmbedded(t *testing.T) { - ents, err := capabilities.FS.ReadDir(".") - if err != nil { - t.Fatal(err) - } - if len(ents) == 0 { - t.Error("expected capabilities to be present") - } - for _, ent := range ents { - cont, err := capabilities.FS.ReadFile(ent.Name()) - if err != nil { - t.Errorf("file %v: %v", ent.Name(), err) - } - var x interface{} - err = util.UnmarshalJSON(cont, &x) - if err != nil { - t.Errorf("file %v: %v", ent.Name(), err) - } - } -} diff --git a/capabilities/eopa/update-eopa-caps.sh b/capabilities/eopa/update-eopa-caps.sh deleted file mode 100755 index a1a32f32..00000000 --- a/capabilities/eopa/update-eopa-caps.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -set -e -set -u -set -o pipefail - -TEMP="$(mktemp -d)" -trap "rm -rf '$TEMP'" EXIT - -cd "$(dirname "$0")" -dest="$(pwd)" - -cd "$TEMP" - -set -x - -git clone https://github.com/StyraInc/enterprise-opa.git > "$TEMP/clone.log" 2>&1 - -cp -R "$TEMP/enterprise-opa/capabilities"/*.json "$dest" - - diff --git a/capabilities/eopa/v0.100.8.json b/capabilities/eopa/v0.100.8.json deleted file mode 100644 index 9c012de7..00000000 --- a/capabilities/eopa/v0.100.8.json +++ /dev/null @@ -1,4466 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.101.0.json b/capabilities/eopa/v0.101.0.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.101.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.101.1.json b/capabilities/eopa/v0.101.1.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.101.1.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.102.0.json b/capabilities/eopa/v0.102.0.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.102.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.102.1.json b/capabilities/eopa/v0.102.1.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.102.1.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.102.2.json b/capabilities/eopa/v0.102.2.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.102.2.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.102.3.json b/capabilities/eopa/v0.102.3.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.102.3.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.102.4.json b/capabilities/eopa/v0.102.4.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.102.4.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.102.5.json b/capabilities/eopa/v0.102.5.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v0.102.5.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v0.15.0.json b/capabilities/eopa/v0.15.0.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v0.15.0.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.0.0.json b/capabilities/eopa/v1.0.0.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v1.0.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.0.1.json b/capabilities/eopa/v1.0.1.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v1.0.1.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.1.0.json b/capabilities/eopa/v1.1.0.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v1.1.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.10.0.json b/capabilities/eopa/v1.10.0.json deleted file mode 100644 index 41c3f8ee..00000000 --- a/capabilities/eopa/v1.10.0.json +++ /dev/null @@ -1,5082 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.10.1.json b/capabilities/eopa/v1.10.1.json deleted file mode 100644 index 41c3f8ee..00000000 --- a/capabilities/eopa/v1.10.1.json +++ /dev/null @@ -1,5082 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.11.0.json b/capabilities/eopa/v1.11.0.json deleted file mode 100644 index 7dc18dac..00000000 --- a/capabilities/eopa/v1.11.0.json +++ /dev/null @@ -1,5144 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.11.1.json b/capabilities/eopa/v1.11.1.json deleted file mode 100644 index 7dc18dac..00000000 --- a/capabilities/eopa/v1.11.1.json +++ /dev/null @@ -1,5144 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.12.0.json b/capabilities/eopa/v1.12.0.json deleted file mode 100644 index 7dc18dac..00000000 --- a/capabilities/eopa/v1.12.0.json +++ /dev/null @@ -1,5144 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.13.0.json b/capabilities/eopa/v1.13.0.json deleted file mode 100644 index f62c865e..00000000 --- a/capabilities/eopa/v1.13.0.json +++ /dev/null @@ -1,4918 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes" - ] -} diff --git a/capabilities/eopa/v1.14.0.json b/capabilities/eopa/v1.14.0.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.14.0.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.15.1.json b/capabilities/eopa/v1.15.1.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.15.1.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.15.2.json b/capabilities/eopa/v1.15.2.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.15.2.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.15.3.json b/capabilities/eopa/v1.15.3.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.15.3.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.15.4.json b/capabilities/eopa/v1.15.4.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.15.4.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.15.5.json b/capabilities/eopa/v1.15.5.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.15.5.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.16.0.json b/capabilities/eopa/v1.16.0.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.16.0.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.17.0.json b/capabilities/eopa/v1.17.0.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.17.0.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.17.1.json b/capabilities/eopa/v1.17.1.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.17.1.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.17.2.json b/capabilities/eopa/v1.17.2.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.17.2.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.18.0.json b/capabilities/eopa/v1.18.0.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.18.0.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.18.1.json b/capabilities/eopa/v1.18.1.json deleted file mode 100644 index d45b23b5..00000000 --- a/capabilities/eopa/v1.18.1.json +++ /dev/null @@ -1,4975 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.19.0.json b/capabilities/eopa/v1.19.0.json deleted file mode 100644 index 21d240aa..00000000 --- a/capabilities/eopa/v1.19.0.json +++ /dev/null @@ -1,5006 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.2.0.json b/capabilities/eopa/v1.2.0.json deleted file mode 100644 index 8848e027..00000000 --- a/capabilities/eopa/v1.2.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.20.0.json b/capabilities/eopa/v1.20.0.json deleted file mode 100644 index b71b9d2d..00000000 --- a/capabilities/eopa/v1.20.0.json +++ /dev/null @@ -1,5050 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.21.0.json b/capabilities/eopa/v1.21.0.json deleted file mode 100644 index addb14a5..00000000 --- a/capabilities/eopa/v1.21.0.json +++ /dev/null @@ -1,5095 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.22.0.json b/capabilities/eopa/v1.22.0.json deleted file mode 100644 index addb14a5..00000000 --- a/capabilities/eopa/v1.22.0.json +++ /dev/null @@ -1,5095 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.23.0.json b/capabilities/eopa/v1.23.0.json deleted file mode 100644 index addb14a5..00000000 --- a/capabilities/eopa/v1.23.0.json +++ /dev/null @@ -1,5095 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.24.0.json b/capabilities/eopa/v1.24.0.json deleted file mode 100644 index bc473ed8..00000000 --- a/capabilities/eopa/v1.24.0.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.count", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.24.1.json b/capabilities/eopa/v1.24.1.json deleted file mode 100644 index bc473ed8..00000000 --- a/capabilities/eopa/v1.24.1.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.count", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.24.2.json b/capabilities/eopa/v1.24.2.json deleted file mode 100644 index bc473ed8..00000000 --- a/capabilities/eopa/v1.24.2.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.count", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.24.3.json b/capabilities/eopa/v1.24.3.json deleted file mode 100644 index bc473ed8..00000000 --- a/capabilities/eopa/v1.24.3.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.count", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.24.4.json b/capabilities/eopa/v1.24.4.json deleted file mode 100644 index bc473ed8..00000000 --- a/capabilities/eopa/v1.24.4.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.count", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.24.5.json b/capabilities/eopa/v1.24.5.json deleted file mode 100644 index bc473ed8..00000000 --- a/capabilities/eopa/v1.24.5.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates_with_options", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "dynamodb.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.marshal_with_options", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "indent", - "value": { - "type": "string" - } - }, - { - "key": "prefix", - "value": { - "type": "string" - } - }, - { - "key": "pretty", - "value": { - "type": "boolean" - } - } - ], - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neo4j.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "redis.query", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.count", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "strings.render_template", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "features": [ - "rule_head_ref_string_prefixes", - "rule_head_refs", - "rego_v1_import" - ] -} diff --git a/capabilities/eopa/v1.3.0.json b/capabilities/eopa/v1.3.0.json deleted file mode 100644 index eeedfeca..00000000 --- a/capabilities/eopa/v1.3.0.json +++ /dev/null @@ -1,4615 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.4.0.json b/capabilities/eopa/v1.4.0.json deleted file mode 100644 index e4ab07ca..00000000 --- a/capabilities/eopa/v1.4.0.json +++ /dev/null @@ -1,4677 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.5.1.json b/capabilities/eopa/v1.5.1.json deleted file mode 100644 index 84083237..00000000 --- a/capabilities/eopa/v1.5.1.json +++ /dev/null @@ -1,4702 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.6.0.json b/capabilities/eopa/v1.6.0.json deleted file mode 100644 index 84083237..00000000 --- a/capabilities/eopa/v1.6.0.json +++ /dev/null @@ -1,4702 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.7.0.json b/capabilities/eopa/v1.7.0.json deleted file mode 100644 index 84083237..00000000 --- a/capabilities/eopa/v1.7.0.json +++ /dev/null @@ -1,4702 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.8.0.json b/capabilities/eopa/v1.8.0.json deleted file mode 100644 index a27e5175..00000000 --- a/capabilities/eopa/v1.8.0.json +++ /dev/null @@ -1,4727 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.9.0.json b/capabilities/eopa/v1.9.0.json deleted file mode 100644 index 54f702c5..00000000 --- a/capabilities/eopa/v1.9.0.json +++ /dev/null @@ -1,5060 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.9.1.json b/capabilities/eopa/v1.9.1.json deleted file mode 100644 index 54f702c5..00000000 --- a/capabilities/eopa/v1.9.1.json +++ /dev/null @@ -1,5060 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.9.2.json b/capabilities/eopa/v1.9.2.json deleted file mode 100644 index 54f702c5..00000000 --- a/capabilities/eopa/v1.9.2.json +++ /dev/null @@ -1,5060 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.9.3.json b/capabilities/eopa/v1.9.3.json deleted file mode 100644 index 54f702c5..00000000 --- a/capabilities/eopa/v1.9.3.json +++ /dev/null @@ -1,5060 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.9.4.json b/capabilities/eopa/v1.9.4.json deleted file mode 100644 index 54f702c5..00000000 --- a/capabilities/eopa/v1.9.4.json +++ /dev/null @@ -1,5060 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/capabilities/eopa/v1.9.5.json b/capabilities/eopa/v1.9.5.json deleted file mode 100644 index 54f702c5..00000000 --- a/capabilities/eopa/v1.9.5.json +++ /dev/null @@ -1,5060 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.equal", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.parse_private_keys", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_keypair", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "numbers.range_step", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "dynamodb.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "mongodb.find_one", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "rego.eval", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "sql.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "vault.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} From 655a373f9f8e28002cac6d0ca1d8c339cd6cc245 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 20 Aug 2024 12:19:29 -0400 Subject: [PATCH 03/39] use enterprise-opa's capabilities package --- go.mod | 1 + go.sum | 2 ++ pkg/config/config.go | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index ea11565c..ca90f797 100644 --- a/go.mod +++ b/go.mod @@ -57,6 +57,7 @@ require ( github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/sirupsen/logrus v1.9.3 // indirect + github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd // indirect github.com/tchap/go-patricia/v2 v2.3.1 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect diff --git a/go.sum b/go.sum index 0122e657..c45434be 100644 --- a/go.sum +++ b/go.sum @@ -180,6 +180,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd h1:CfEYXFe5FyYko+UtZF1llKnombWctPE/LAMBtMOz8yc= +github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd/go.mod h1:SAO8I1FadwvJvLevyJ5vXlAaEYIdjv5h+pVaBQZSUyk= github.com/tchap/go-patricia/v2 v2.3.1 h1:6rQp39lgIYZ+MHmdEq4xzuk1t7OdC35z/xm0BGhTkes= github.com/tchap/go-patricia/v2 v2.3.1/go.mod h1:VZRHKAb53DLaG+nA9EaYYiaEx6YztwDlLElMsnSHD4k= github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= diff --git a/pkg/config/config.go b/pkg/config/config.go index 1711f5dc..4b595e8b 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -12,7 +12,7 @@ import ( "github.com/open-policy-agent/opa/ast" - eopa_caps "github.com/styrainc/regal/capabilities/eopa" + eopa_caps "github.com/styrainc/enterprise-opa/capabilities" rio "github.com/styrainc/regal/internal/io" ) From 2c89dd7c64c09e7990c25dae6424d559c59ced26 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 20 Aug 2024 12:22:04 -0400 Subject: [PATCH 04/39] try to fix go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index ca90f797..748c37c8 100644 --- a/go.mod +++ b/go.mod @@ -19,6 +19,7 @@ require ( github.com/sourcegraph/jsonrpc2 v0.2.0 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 + github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd gopkg.in/yaml.v3 v3.0.1 ) @@ -57,7 +58,6 @@ require ( github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/sirupsen/logrus v1.9.3 // indirect - github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd // indirect github.com/tchap/go-patricia/v2 v2.3.1 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect From eeb16a79229bbf613b339624f64e45466ff33b9a Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 20 Aug 2024 18:10:41 -0400 Subject: [PATCH 05/39] LSP+capabilities working correctly Still needs some refactoring, but we can properly use the embedded capabilities in the LSP now. --- .../lsp/completions/providers/builtins.go | 13 +++-- internal/lsp/completions/providers/options.go | 6 ++- internal/lsp/server.go | 9 ++++ pkg/capabilities/capabilities.go | 50 +++++++++++++++++++ pkg/config/config.go | 6 +++ 5 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 pkg/capabilities/capabilities.go diff --git a/internal/lsp/completions/providers/builtins.go b/internal/lsp/completions/providers/builtins.go index 93663e69..dda347e3 100644 --- a/internal/lsp/completions/providers/builtins.go +++ b/internal/lsp/completions/providers/builtins.go @@ -3,9 +3,9 @@ package providers import ( "strings" + "github.com/open-policy-agent/opa/ast" "github.com/styrainc/regal/internal/lsp/cache" "github.com/styrainc/regal/internal/lsp/hover" - "github.com/styrainc/regal/internal/lsp/rego" "github.com/styrainc/regal/internal/lsp/types" "github.com/styrainc/regal/internal/lsp/types/completion" ) @@ -16,7 +16,7 @@ func (*BuiltIns) Name() string { return "builtins" } -func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, _ *Options) ([]types.CompletionItem, error) { +func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, opt *Options) ([]types.CompletionItem, error) { fileURI := params.TextDocument.URI lines, currentLine := completionLineHelper(c, fileURI, params.Position.Line) @@ -33,7 +33,14 @@ func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, _ *Options) items := []types.CompletionItem{} - for key, builtIn := range rego.BuiltIns { + builtins := ast.CapabilitiesForThisVersion().Builtins + if opt.Capabilities != nil { + builtins = opt.Capabilities.Builtins + } + + for _, builtIn := range builtins { + key := builtIn.Name + if builtIn.Infix != "" { continue } diff --git a/internal/lsp/completions/providers/options.go b/internal/lsp/completions/providers/options.go index cf9b61b0..101afd3d 100644 --- a/internal/lsp/completions/providers/options.go +++ b/internal/lsp/completions/providers/options.go @@ -1,8 +1,12 @@ package providers -import "github.com/styrainc/regal/internal/lsp/clients" +import ( + "github.com/open-policy-agent/opa/ast" + "github.com/styrainc/regal/internal/lsp/clients" +) type Options struct { ClientIdentifier clients.Identifier RootURI string + Capabilities *ast.Capabilities } diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 5b344395..69cbd5b8 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -39,6 +39,7 @@ import ( rparse "github.com/styrainc/regal/internal/parse" "github.com/styrainc/regal/internal/update" "github.com/styrainc/regal/internal/util" + "github.com/styrainc/regal/pkg/capabilities" "github.com/styrainc/regal/pkg/config" "github.com/styrainc/regal/pkg/fixer" "github.com/styrainc/regal/pkg/fixer/fileprovider" @@ -1166,10 +1167,18 @@ func (l *LanguageServer) handleTextDocumentCompletion( }, nil } + l.loadedConfigLock.Lock() + caps, err := capabilities.Lookup(l.loadedConfig.Engine, l.loadedConfig.Version) + l.loadedConfigLock.Unlock() + if err != nil { + return nil, err + } + // items is allocated here so that the return value is always a non-nil CompletionList items, err := l.completionsManager.Run(params, &providers.Options{ ClientIdentifier: l.clientIdentifier, RootURI: l.workspaceRootURI, + Capabilities: caps, }) if err != nil { return nil, fmt.Errorf("failed to find completions: %w", err) diff --git a/pkg/capabilities/capabilities.go b/pkg/capabilities/capabilities.go new file mode 100644 index 00000000..e585a813 --- /dev/null +++ b/pkg/capabilities/capabilities.go @@ -0,0 +1,50 @@ +// package capabilities provides convenient access to OPA capabilities +// definitions that are embedded within Regal. +package capabilities + +import ( + "fmt" + + "github.com/open-policy-agent/opa/ast" + + eopa_caps "github.com/styrainc/enterprise-opa/capabilities" +) + +const ( + engineOPA = "opa" + engineEOPA = "eopa" +) + +// Lookup attempts to access the capabilities requested engine and version. It +// returns nil if the capability is not found in the embedded capabilities +// database. +func Lookup(engine, version string) (*ast.Capabilities, error) { + switch engine { + case engineOPA: + return ast.LoadCapabilitiesVersion(version) + case engineEOPA: + return eopa_caps.LoadCapabilitiesVersion(version) + default: + return nil, fmt.Errorf("engine '%s' not present in embedded capabilities database", engine) + } +} + +// List returns a map with keys being Rego engine types, and values being lists +// of capabilities versions present in the embedded capabilities database for +// that version. +func List() (map[string][]string, error) { + opaCaps, err := ast.LoadCapabilitiesVersions() + if err != nil { + return nil, err + } + + eopaCaps, err := eopa_caps.LoadCapabilitiesVersions() + if err != nil { + return nil, err + } + + return map[string][]string{ + engineOPA: opaCaps, + engineEOPA: eopaCaps, + }, nil +} diff --git a/pkg/config/config.go b/pkg/config/config.go index 4b595e8b..7177a7ed 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -34,6 +34,9 @@ type Config struct { Defaults Defaults `json:"-" yaml:"-"` Features *Features `json:"features,omitempty" yaml:"features,omitempty"` + + Engine string `json:"engine,omitempty" yaml:"engine,omitempty"` + Version string `json:"version,omitempty" yaml:"version,omitempty"` } type Category map[string]Rule @@ -273,6 +276,9 @@ func (config *Config) UnmarshalYAML(value *yaml.Node) error { capabilitiesEngine := result.Capabilities.From.Engine capabilitiesEngineVersion := result.Capabilities.From.Version + config.Engine = result.Capabilities.From.Engine + config.Version = result.Capabilities.From.Version + if capabilitiesFile != "" && capabilitiesEngine != "" { return errors.New("capabilities from.file and from.engine are mutually exclusive") } From ceae653cdf143400cfe67cf5cd8d827ac6947b31 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 20 Aug 2024 18:24:34 -0400 Subject: [PATCH 06/39] refactor LSP capabilities handling Rather than using an option, we upgrade the existing rego package so that the builtins can be updated at runtime. --- internal/ast/rule.go | 3 +++ .../lsp/completions/providers/builtins.go | 10 ++++---- internal/lsp/completions/providers/options.go | 2 -- internal/lsp/rego/builtins.go | 14 ++++++++--- internal/lsp/rego/rego.go | 2 ++ internal/lsp/server.go | 23 +++++++++++-------- 6 files changed, 34 insertions(+), 20 deletions(-) diff --git a/internal/ast/rule.go b/internal/ast/rule.go index 387f58af..55e949d1 100644 --- a/internal/ast/rule.go +++ b/internal/ast/rule.go @@ -53,6 +53,9 @@ func GetRuleDetail(rule *ast.Rule) string { case ast.Call: name := v[0].String() + rego.BuiltInsLock.RLock() + defer rego.BuiltInsLock.RUnlock() + if builtin, ok := rego.BuiltIns[name]; ok { retType := builtin.Decl.NamedResult().String() diff --git a/internal/lsp/completions/providers/builtins.go b/internal/lsp/completions/providers/builtins.go index dda347e3..de1a8067 100644 --- a/internal/lsp/completions/providers/builtins.go +++ b/internal/lsp/completions/providers/builtins.go @@ -3,9 +3,9 @@ package providers import ( "strings" - "github.com/open-policy-agent/opa/ast" "github.com/styrainc/regal/internal/lsp/cache" "github.com/styrainc/regal/internal/lsp/hover" + "github.com/styrainc/regal/internal/lsp/rego" "github.com/styrainc/regal/internal/lsp/types" "github.com/styrainc/regal/internal/lsp/types/completion" ) @@ -33,12 +33,10 @@ func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, opt *Options items := []types.CompletionItem{} - builtins := ast.CapabilitiesForThisVersion().Builtins - if opt.Capabilities != nil { - builtins = opt.Capabilities.Builtins - } + rego.BuiltInsLock.RLock() + defer rego.BuiltInsLock.RUnlock() - for _, builtIn := range builtins { + for _, builtIn := range rego.BuiltIns { key := builtIn.Name if builtIn.Infix != "" { diff --git a/internal/lsp/completions/providers/options.go b/internal/lsp/completions/providers/options.go index 101afd3d..ad05c452 100644 --- a/internal/lsp/completions/providers/options.go +++ b/internal/lsp/completions/providers/options.go @@ -1,12 +1,10 @@ package providers import ( - "github.com/open-policy-agent/opa/ast" "github.com/styrainc/regal/internal/lsp/clients" ) type Options struct { ClientIdentifier clients.Identifier RootURI string - Capabilities *ast.Capabilities } diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index ce266ae3..57566974 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -2,15 +2,23 @@ package rego import ( "strings" + "sync" "github.com/open-policy-agent/opa/ast" ) -var BuiltIns = builtinMap() //nolint:gochecknoglobals +var BuiltInsLock = &sync.RWMutex{} // nolint:gochecknoglobals +var BuiltIns = builtinMap(ast.CapabilitiesForThisVersion()) //nolint:gochecknoglobals -func builtinMap() map[string]*ast.Builtin { +func UpdateBuiltins(caps *ast.Capabilities) { + BuiltInsLock.Lock() + defer BuiltInsLock.Unlock() + BuiltIns = builtinMap(caps) +} + +func builtinMap(caps *ast.Capabilities) map[string]*ast.Builtin { m := make(map[string]*ast.Builtin) - for _, b := range ast.CapabilitiesForThisVersion().Builtins { + for _, b := range caps.Builtins { m[b.Name] = b } diff --git a/internal/lsp/rego/rego.go b/internal/lsp/rego/rego.go index 92df92be..c63bf866 100644 --- a/internal/lsp/rego/rego.go +++ b/internal/lsp/rego/rego.go @@ -74,6 +74,8 @@ func AllBuiltinCalls(module *ast.Module) []BuiltInCall { return false } + BuiltInsLock.RLock() + defer BuiltInsLock.RUnlock() if b, ok := BuiltIns[terms[0].Value.String()]; ok { // Exclude operators and similar builtins if b.Infix != "" { diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 69cbd5b8..05f8d21a 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -337,7 +337,20 @@ func (l *LanguageServer) StartConfigWorker(ctx context.Context) { } else { l.loadedConfig = &mergedConfig } - l.loadedConfigLock.Unlock() + defer l.loadedConfigLock.Unlock() + + // The engine and version may have changed, so we need + // to update the capabilities. + // + // TODO: if we eventually want to support using + // capabilities from files on disk with the LSP, this + // will need to be updated. + caps, err := capabilities.Lookup(l.loadedConfig.Engine, l.loadedConfig.Version) + if err != nil { + l.logError(fmt.Errorf("failed to lookup capabilities: %w", err)) + return + } + rego.UpdateBuiltins(caps) // the config may now ignore files that existed in the cache before, // in which case we need to remove them to stop their contents being @@ -1167,18 +1180,10 @@ func (l *LanguageServer) handleTextDocumentCompletion( }, nil } - l.loadedConfigLock.Lock() - caps, err := capabilities.Lookup(l.loadedConfig.Engine, l.loadedConfig.Version) - l.loadedConfigLock.Unlock() - if err != nil { - return nil, err - } - // items is allocated here so that the return value is always a non-nil CompletionList items, err := l.completionsManager.Run(params, &providers.Options{ ClientIdentifier: l.clientIdentifier, RootURI: l.workspaceRootURI, - Capabilities: caps, }) if err != nil { return nil, fmt.Errorf("failed to find completions: %w", err) From f92073fa1de92f015c3ab9e321dd25a0d0e68bbb Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 21 Aug 2024 15:20:31 -0400 Subject: [PATCH 07/39] implement URL-based caps lookup --- go.mod | 2 + go.sum | 6 + pkg/capabilities/capabilities.go | 223 +++++++++++++++++++- pkg/capabilities/capabilities_test.go | 99 +++++++++ pkg/capabilities/testdata/capabilities.json | 27 +++ 5 files changed, 352 insertions(+), 5 deletions(-) create mode 100644 pkg/capabilities/capabilities_test.go create mode 100644 pkg/capabilities/testdata/capabilities.json diff --git a/go.mod b/go.mod index 748c37c8..af010803 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,7 @@ go 1.22.5 require ( dario.cat/mergo v1.0.1 github.com/anderseknert/roast v0.1.0 + github.com/coreos/go-semver v0.3.1 github.com/fatih/color v1.17.0 github.com/fsnotify/fsnotify v1.7.0 github.com/gobwas/glob v0.2.3 @@ -20,6 +21,7 @@ require ( github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index c45434be..ffc66d18 100644 --- a/go.sum +++ b/go.sum @@ -23,6 +23,8 @@ github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= +github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -214,6 +216,10 @@ go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= diff --git a/pkg/capabilities/capabilities.go b/pkg/capabilities/capabilities.go index e585a813..b1fd7f63 100644 --- a/pkg/capabilities/capabilities.go +++ b/pkg/capabilities/capabilities.go @@ -4,9 +4,18 @@ package capabilities import ( "fmt" + "net/http" + "net/url" + "os" + "path" + "slices" + "sort" + "strings" "github.com/open-policy-agent/opa/ast" + "github.com/coreos/go-semver/semver" + eopa_caps "github.com/styrainc/enterprise-opa/capabilities" ) @@ -15,10 +24,123 @@ const ( engineEOPA = "eopa" ) -// Lookup attempts to access the capabilities requested engine and version. It -// returns nil if the capability is not found in the embedded capabilities -// database. -func Lookup(engine, version string) (*ast.Capabilities, error) { +// Lookup attempts to retrieve capabilities from the requested RFC3986 +// compliant URL. +// +// If the URL scheme is 'http', 'https', or 'file' then the specified document will +// be retrieved and parsed as JSON using ast.LoadCapabilitiesJSON(). +// +// If the URL scheme is 'regal', then Lookup will retrieve the capabilities +// from Regal's embedded capabilities database. The path for the URL is treated +// according to the following rules: +// +// 'regal://capabilities/default' loads the capabilities from +// ast.CapabilitiesForThisVersion(). +// +// 'regal://capabilities/{engine}' loads the latest capabilities for the +// specified engine, sorted according to semver. Versions that are not valid +// semver strings are sorted lexicographically, but are always sorted after +// valid semver strings. +// +// 'regal://capabilities/{engine}/{version}' loads the requested capabilities +// version for the specified engine. +func Lookup(rawURL string) (*ast.Capabilities, error) { + + parsedURL, err := url.Parse(rawURL) + if err != nil { + return nil, err + } + + return LookupURL(parsedURL) +} + +// LookupURL behaves identically to Lookup(), but allows using a pre-parsed +// URL to avoid a needless round-trip through a string. +func LookupURL(parsedURL *url.URL) (*ast.Capabilities, error) { + switch parsedURL.Scheme { + case "http": + return lookupWebURL(parsedURL) + case "https": + return lookupWebURL(parsedURL) + case "file": + return lookupFileURL(parsedURL) + case "regal": + return lookupEmbeddedURL(parsedURL) + default: + return nil, fmt.Errorf("regal URL '%s' has unsupported scheme '%s'", parsedURL.String(), parsedURL.Scheme) + } +} + +func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { + + // We need to consider the individual path elements of the URL. It + // would arguably be more elegant to do this with regex and named + // capture groups, but I trust the stdlib URL and path splitting + // implementations more. + urlPath := parsedURL.Path + urlPath = path.Clean(urlPath) + elems := make([]string, 0) + dir := urlPath + var file string + for dir != "" { + // leading and trailing / symbols confuse path.Split() + dir = strings.Trim(dir, "/") + dir, file = path.Split(dir) + elems = append(elems, file) + } + slices.Reverse(elems) + + if len(elems) < 1 { + return nil, fmt.Errorf("regal URL '%s' has an empty path", parsedURL.String()) + } + + // The capabilities element should always be present so that if we want + // to make other regal:// URLs later for other purposes, we don't cross + // contaminate different subsystems. + if elems[0] != "capabilities" { + return nil, fmt.Errorf("regal URL '%s' does not have 'capabilities' as it's first path element - did you mean to try to load capabilities from this URL?", parsedURL.String()) + } + + if len(elems) > 3 { + return nil, fmt.Errorf("regal URL '%s' is malformed (too many path elements), expected regal://capabilities/{engine}[/{version}]", parsedURL.String()) + } + + if elems[1] == "default" { + return ast.CapabilitiesForThisVersion(), nil + } + + engine := elems[1] + version := "" + if len(elems) == 3 { + version = elems[2] + } else { + // look up latest version if the caller did not explicitly + // supply one. This relies on the behavior of List() to + // sort the versions correctly. + // + // Right now, this does mean we are enumerating all of the + // versions for all engines. Since there are only 2, that's not + // an issue today. But in future we may need to expand List() + // so that it filters to only a specific engine or something to + // that effect. + + versionsList, err := List() + if err != nil { + return nil, fmt.Errorf("while processing regal URL '%s', failed to determine the latest version for engine '%s': %w", parsedURL.String(), engine, err) + } + + versionsForEngine, ok := versionsList[engine] + if !ok { + return nil, fmt.Errorf("while processing regal URL '%s', failed to determine the latest version for engine '%s': engine not found in embedded database", parsedURL.String(), engine) + } + + if len(versionsForEngine) < 1 { + return nil, fmt.Errorf("while processing regal URL '%s', failed to determine the latest version for engine '%s': engine found in embedded database but has no versions associated with it", parsedURL.String(), engine) + } + + version = versionsForEngine[0] + } + switch engine { case engineOPA: return ast.LoadCapabilitiesVersion(version) @@ -29,9 +151,97 @@ func Lookup(engine, version string) (*ast.Capabilities, error) { } } +func lookupFileURL(parsedURL *url.URL) (*ast.Capabilities, error) { + fd, err := os.Open(parsedURL.Path) + if err != nil { + return nil, err + } + + return ast.LoadCapabilitiesJSON(fd) +} + +func lookupWebURL(parsedURL *url.URL) (*ast.Capabilities, error) { + req, err := http.NewRequest(http.MethodGet, parsedURL.String(), nil) + if err != nil { + return nil, err + } + + resp, err := http.DefaultClient.Do(req) + if err != nil { + return nil, err + } + + return ast.LoadCapabilitiesJSON(resp.Body) +} + +// semverSort uses the semver library to perform the string comparisons during +// sorting, but cleanly handles invalid semver strings without panicing or +// throwing an error. +func semverSort(stringVersions []string) { + // For performance, we'll memoize conversion of strings to semver + // versions. + vCache := make(map[string]*semver.Version) + + sort.Slice(stringVersions, func(i, j int) bool { + iStr := stringVersions[i] + jStr := stringVersions[j] + + iValid := true + jValid := true + + iVers, ok := vCache[iStr] + if !ok { + var err error + iVers, err = semver.NewVersion(iStr) + if err != nil { + iValid = false + } else { + vCache[iStr] = iVers + } + } + + jVers, ok := vCache[jStr] + if !ok { + var err error + jVers, err = semver.NewVersion(jStr) + if err != nil { + jValid = false + } else { + vCache[jStr] = jVers + } + } + + if iValid && jValid { + return (*iVers).LessThan(*jVers) + } + + // When i is valid semver and j is not, i always sorts first. + if iValid && !jValid { + return false + } + + if !iValid && jValid { + return true + } + + // If neither string is valid semver, fall back to normal + // string comparison. + return iStr < jStr + + }) + + // This sort sorts ascending, but we want descending. I can't figure + // out how to get sort.Reverse() and sort.Slice() to play nice, and + // these lists will generally be small anyway. + slices.Reverse(stringVersions) +} + // List returns a map with keys being Rego engine types, and values being lists // of capabilities versions present in the embedded capabilities database for -// that version. +// that version. Versions are sorted descending according to semver (e.g. index +// 0 is the newest version), with version strings that are not valid semver +// versions sorting after all valid versions strings but otherwise being +// compared lexicographically. func List() (map[string][]string, error) { opaCaps, err := ast.LoadCapabilitiesVersions() if err != nil { @@ -43,6 +253,9 @@ func List() (map[string][]string, error) { return nil, err } + semverSort(opaCaps) + semverSort(eopaCaps) + return map[string][]string{ engineOPA: opaCaps, engineEOPA: eopaCaps, diff --git a/pkg/capabilities/capabilities_test.go b/pkg/capabilities/capabilities_test.go new file mode 100644 index 00000000..12102d7e --- /dev/null +++ b/pkg/capabilities/capabilities_test.go @@ -0,0 +1,99 @@ +package capabilities + +import ( + "fmt" + "path/filepath" + "testing" +) + +func TestLookupFromFile(t *testing.T) { + // Test that we are able to load a capabilities file using a file:// + // URL. + + path, err := filepath.Abs("./testdata/capabilities.json") + if err != nil { + t.Fatalf("could not determine absolute path to test capabilities file: %v", err) + } + + urlForPath := fmt.Sprintf("file://%s", path) + + caps, err := Lookup(urlForPath) + if err != nil { + t.Errorf("unexpected error from Lookup: %v", err) + } + + if len(caps.Builtins) != 1 { + t.Errorf("expected capabilities to have exactly 1 builtin") + } + + if caps.Builtins[0].Name != "unittest123" { + t.Errorf("builtin name is incorrect, expected 'unittest123' but got '%s'", caps.Builtins[0].Name) + } +} + +func TestLookupFromURL(t *testing.T) { + // Test that we can load a one of the existing OPA capabilities files + // via GitHub. + + caps, err := Lookup("https://raw.githubusercontent.com/open-policy-agent/opa/main/capabilities/v0.55.0.json") + if err != nil { + t.Errorf("unexpected error from Lookup: %v", err) + } + + if len(caps.Builtins) != 193 { + t.Errorf("OPA v0.55.0 capabilities should have 193 builtins, not %d", len(caps.Builtins)) + } +} + +func TestLookupFromEmbedded(t *testing.T) { + // Test that we can load a one of the existing OPA capabilities files + // via the embedded database. + + caps, err := Lookup("regal:///capabilities/opa/v0.55.0") + if err != nil { + t.Errorf("unexpected error from Lookup: %v", err) + } + + if len(caps.Builtins) != 193 { + t.Errorf("OPA v0.55.0 capabilities should have 193 builtins, not %d", len(caps.Builtins)) + } +} + +func TestSemverSort(t *testing.T) { + cases := []struct { + note string + input []string + expect []string + }{ + { + note: "should be able to correctly sort semver only", + input: []string{"1.2.3", "1.2.4", "1.0.1"}, + expect: []string{"1.2.4", "1.2.3", "1.0.1"}, + }, + { + note: "should be able to correctly sort non-semver only", + input: []string{"a", "b", "c"}, + expect: []string{"c", "b", "a"}, + }, + { + note: "should be able to correctly sort mixed semver and non-semver", + input: []string{"a", "b", "c", "4.0.7", "1.0.1", "2.1.1", "2.3.4"}, + expect: []string{"4.0.7", "2.3.4", "2.1.1", "1.0.1", "c", "b", "a"}, + }, + } + + for i, c := range cases { + t.Logf("----- TestSemverSort[%d]", i) + t.Logf("// %s\n", c.note) + + // Note that this actually sorts the input in-place, which is + // fine since we won't re-visit the same test case twice. + semverSort(c.input) + + for j, x := range c.expect { + if x != c.input[j] { + t.Errorf("index=%d actual='%s' expected='%s'", j, c.input[j], x) + } + } + } +} diff --git a/pkg/capabilities/testdata/capabilities.json b/pkg/capabilities/testdata/capabilities.json new file mode 100644 index 00000000..dc936412 --- /dev/null +++ b/pkg/capabilities/testdata/capabilities.json @@ -0,0 +1,27 @@ +{ + "builtins": [ + { + "name": "unittest123", + "description": "dummy used to test loading capabilities", + "categories": [ + "numbers" + ], + "decl": { + "args": [ + { + "name": "x", + "type": "number" + } + ], + "result": { + "description": "the absolute value of `x`", + "name": "y", + "type": "number" + }, + "type": "function" + } + } + ], + "future_keywords": [], + "features": [] +} From 70e1991543e83ba6f14d8b18d4f24bc935491b5e Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 21 Aug 2024 15:40:29 -0400 Subject: [PATCH 08/39] unify config + LSP on new capabilities.Lookup() --- internal/lsp/server.go | 10 ++---- pkg/config/config.go | 74 ++++++++++++++++++++++-------------------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 05f8d21a..a029f7be 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -339,13 +339,9 @@ func (l *LanguageServer) StartConfigWorker(ctx context.Context) { } defer l.loadedConfigLock.Unlock() - // The engine and version may have changed, so we need - // to update the capabilities. - // - // TODO: if we eventually want to support using - // capabilities from files on disk with the LSP, this - // will need to be updated. - caps, err := capabilities.Lookup(l.loadedConfig.Engine, l.loadedConfig.Version) + // Capabilities URL may have changed, so we we should + // reload it. + caps, err := capabilities.Lookup(l.loadedConfig.CapabilitiesURL) if err != nil { l.logError(fmt.Errorf("failed to lookup capabilities: %w", err)) return diff --git a/pkg/config/config.go b/pkg/config/config.go index 7177a7ed..7cd8c550 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -12,9 +12,8 @@ import ( "github.com/open-policy-agent/opa/ast" - eopa_caps "github.com/styrainc/enterprise-opa/capabilities" - rio "github.com/styrainc/regal/internal/io" + "github.com/styrainc/regal/pkg/capabilities" ) const ( @@ -35,8 +34,7 @@ type Config struct { Features *Features `json:"features,omitempty" yaml:"features,omitempty"` - Engine string `json:"engine,omitempty" yaml:"engine,omitempty"` - Version string `json:"version,omitempty" yaml:"version,omitempty"` + CapabilitiesURL string `json:"capabilities_url,omitempty" yaml:"capabilities_url,omitempty"` } type Category map[string]Rule @@ -235,6 +233,7 @@ type marshallingIntermediary struct { Engine string `yaml:"engine"` Version string `yaml:"version"` File string `yaml:"file"` + URL string `yaml:"url"` } `yaml:"from"` Plus struct { Builtins []*ast.Builtin `yaml:"builtins"` @@ -275,58 +274,63 @@ func (config *Config) UnmarshalYAML(value *yaml.Node) error { capabilitiesFile := result.Capabilities.From.File capabilitiesEngine := result.Capabilities.From.Engine capabilitiesEngineVersion := result.Capabilities.From.Version + capabilitiesURL := result.Capabilities.From.URL + + // Capabilities can be specified by an engine+version combo, a local + // file path, or a URL. These cannot be mixed and matched. + if capabilitiesURL != "" && capabilitiesFile != "" { + return errors.New("capabilities from.url and from.file are mutually exclusive") + } - config.Engine = result.Capabilities.From.Engine - config.Version = result.Capabilities.From.Version + if capabilitiesURL != "" && capabilitiesEngine != "" { + return errors.New("capabilities from.url and from.engine are mutually exclusive") + } + + if capabilitiesURL != "" && capabilitiesEngineVersion != "" { + return errors.New("capabilities from.url and from.version are mutually exclusive") + } if capabilitiesFile != "" && capabilitiesEngine != "" { return errors.New("capabilities from.file and from.engine are mutually exclusive") } if capabilitiesEngine != "" && capabilitiesEngineVersion == "" { + // Although regal:///capabilities/{engine} is valid and refers + // to the latest version for that engine, we'll keep the + // existing (pre-capabilities.Lookup()) behavior in place and + // disallow that when using the engine key. return errors.New("please set the version for the engine from which to load capabilities from") } - if capabilitiesFile != "" { - bs, err := os.ReadFile(capabilitiesFile) - if err != nil { - return fmt.Errorf("failed to load capabilities file: %w", err) - } - - opaCaps := ast.Capabilities{} - json := encoding.JSON() - - err = json.Unmarshal(bs, &opaCaps) - if err != nil { - return fmt.Errorf("failed to unmarshal capabilities file contents: %w", err) - } - - config.Capabilities = fromOPACapabilities(opaCaps) + if capabilitiesEngine != "" { + capabilitiesURL = "regal:///capabilities/" + capabilitiesEngine + "/" + capabilitiesEngineVersion } - if capabilitiesEngine != "" && result.Capabilities.From.Engine == capabilitiesEngineOPA { - capabilities, err := ast.LoadCapabilitiesVersion(result.Capabilities.From.Version) + if capabilitiesFile != "" { + absfp, err := filepath.Abs(capabilitiesFile) if err != nil { - return fmt.Errorf("loading capabilities failed: %w", err) + return fmt.Errorf("unable to load capabilities from '%s', failed to determine absolute path: %w", capabilitiesFile, err) } - config.Capabilities = fromOPACapabilities(*capabilities) + capabilitiesURL = "file://" + absfp } - if capabilitiesEngine != "" && result.Capabilities.From.Engine == capabilitiesEngineEOPA { - capabilities, err := eopa_caps.LoadCapabilitiesVersion(result.Capabilities.From.Version) - if err != nil { - return fmt.Errorf("loading capabilities failed: %w", err) - } - - config.Capabilities = fromOPACapabilities(*capabilities) + if capabilitiesEngine == "" && capabilitiesFile == "" && capabilitiesURL == "" { + capabilitiesURL = "regal:///capabilities/default" } - // by default, use the capabilities from the current OPA - if capabilitiesEngine == "" && capabilitiesFile == "" { - config.Capabilities = CapabilitiesForThisVersion() + opaCaps, err := capabilities.Lookup(capabilitiesURL) + if err != nil { + return fmt.Errorf("failed to load capabilities: %w", err) } + config.Capabilities = fromOPACapabilities(*opaCaps) + + // This is used in the LSP to load the OPA capabilities, since the + // capabilities version in the user-facing config does not contain all + // of the information that the LSP needs. + config.CapabilitiesURL = capabilitiesURL + // remove any builtins referenced in the minus config for _, minusBuiltin := range result.Capabilities.Minus.Builtins { delete(config.Capabilities.Builtins, minusBuiltin.Name) From b6663486b3d3c54ef086864b75689e5d64edcd41 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 21 Aug 2024 15:48:34 -0400 Subject: [PATCH 09/39] unbreak tests --- internal/lsp/server.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/internal/lsp/server.go b/internal/lsp/server.go index a029f7be..82ba74f0 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -337,11 +337,16 @@ func (l *LanguageServer) StartConfigWorker(ctx context.Context) { } else { l.loadedConfig = &mergedConfig } - defer l.loadedConfigLock.Unlock() + l.loadedConfigLock.Unlock() // Capabilities URL may have changed, so we we should // reload it. - caps, err := capabilities.Lookup(l.loadedConfig.CapabilitiesURL) + capsURL := l.loadedConfig.CapabilitiesURL + if capsURL == "" { + // This can happen if we have an empty config. + capsURL = "regal:///capabilities/default" + } + caps, err := capabilities.Lookup(capsURL) if err != nil { l.logError(fmt.Errorf("failed to lookup capabilities: %w", err)) return From 247ebc6dce1ac1047847b1ef710608d39372cdf8 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Thu, 22 Aug 2024 15:27:59 -0400 Subject: [PATCH 10/39] remove global lock --- internal/ast/rule.go | 5 ++--- internal/lsp/completions/providers/builtins.go | 5 ++--- internal/lsp/rego/builtins.go | 17 ++++++++++++----- internal/lsp/rego/rego.go | 6 +++--- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/internal/ast/rule.go b/internal/ast/rule.go index 55e949d1..0b0a8835 100644 --- a/internal/ast/rule.go +++ b/internal/ast/rule.go @@ -53,10 +53,9 @@ func GetRuleDetail(rule *ast.Rule) string { case ast.Call: name := v[0].String() - rego.BuiltInsLock.RLock() - defer rego.BuiltInsLock.RUnlock() + bis := rego.GetBuiltins() - if builtin, ok := rego.BuiltIns[name]; ok { + if builtin, ok := bis[name]; ok { retType := builtin.Decl.NamedResult().String() detail += fmt.Sprintf(" (%s)", simplifyType(retType)) diff --git a/internal/lsp/completions/providers/builtins.go b/internal/lsp/completions/providers/builtins.go index de1a8067..a16544ca 100644 --- a/internal/lsp/completions/providers/builtins.go +++ b/internal/lsp/completions/providers/builtins.go @@ -33,10 +33,9 @@ func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, opt *Options items := []types.CompletionItem{} - rego.BuiltInsLock.RLock() - defer rego.BuiltInsLock.RUnlock() + bis := rego.GetBuiltins() - for _, builtIn := range rego.BuiltIns { + for _, builtIn := range bis { key := builtIn.Name if builtIn.Infix != "" { diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index 57566974..dbd6a1a6 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -7,13 +7,20 @@ import ( "github.com/open-policy-agent/opa/ast" ) -var BuiltInsLock = &sync.RWMutex{} // nolint:gochecknoglobals -var BuiltIns = builtinMap(ast.CapabilitiesForThisVersion()) //nolint:gochecknoglobals +var builtInsLock = &sync.RWMutex{} // nolint:gochecknoglobals +var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) //nolint:gochecknoglobals +// Update updates the builtins database with the provided capabilities. func UpdateBuiltins(caps *ast.Capabilities) { - BuiltInsLock.Lock() - defer BuiltInsLock.Unlock() - BuiltIns = builtinMap(caps) + builtInsLock.Lock() + builtIns = builtinMap(caps) + builtInsLock.Unlock() +} + +func GetBuiltins() map[string]*ast.Builtin { + builtInsLock.RLock() + defer builtInsLock.RUnlock() + return builtIns } func builtinMap(caps *ast.Capabilities) map[string]*ast.Builtin { diff --git a/internal/lsp/rego/rego.go b/internal/lsp/rego/rego.go index c63bf866..3b496def 100644 --- a/internal/lsp/rego/rego.go +++ b/internal/lsp/rego/rego.go @@ -74,9 +74,9 @@ func AllBuiltinCalls(module *ast.Module) []BuiltInCall { return false } - BuiltInsLock.RLock() - defer BuiltInsLock.RUnlock() - if b, ok := BuiltIns[terms[0].Value.String()]; ok { + bis := GetBuiltins() + + if b, ok := bis[terms[0].Value.String()]; ok { // Exclude operators and similar builtins if b.Infix != "" { return false From 4cb276a97e2e71946cbb10f66c63c17e322fc2eb Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Thu, 22 Aug 2024 15:31:07 -0400 Subject: [PATCH 11/39] simplify http access in capabilities package --- pkg/capabilities/capabilities.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/capabilities/capabilities.go b/pkg/capabilities/capabilities.go index b1fd7f63..275e3003 100644 --- a/pkg/capabilities/capabilities.go +++ b/pkg/capabilities/capabilities.go @@ -161,12 +161,7 @@ func lookupFileURL(parsedURL *url.URL) (*ast.Capabilities, error) { } func lookupWebURL(parsedURL *url.URL) (*ast.Capabilities, error) { - req, err := http.NewRequest(http.MethodGet, parsedURL.String(), nil) - if err != nil { - return nil, err - } - - resp, err := http.DefaultClient.Do(req) + resp, err := http.Get(parsedURL.String()) if err != nil { return nil, err } From 327cffcd0962c9218e20f152d2675374ef664679 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Thu, 22 Aug 2024 17:49:26 -0400 Subject: [PATCH 12/39] WiP: initial work to fetch eopa caps --- build/do.rq | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/build/do.rq b/build/do.rq index b62885d2..0f74578e 100755 --- a/build/do.rq +++ b/build/do.rq @@ -27,6 +27,17 @@ package script import future.keywords +# Path to Regal's project root. (./build/do.rq/../.. => ./) +regal_root := rq.abs(rq.dir(rq.dir(rq.scriptpath()))) + +# Root of the directory hierarchy where engine-specific capabilities JSON for +# embedding into the Regal binary should be placed. +embedded_caps_dir := rq.joinpath([regal_root, "pkg", "capabilities", "embedded"]) + +# Directory where EOPA-specific JSON capabilities for embedding should be +# placed. +eopa_caps_dir := rq.joinpath([embedded_caps_dir, "eopa"]) + main contains do[what] if some what in rq.args() main contains job[what] if some what in rq.args() main contains job.tasks if { @@ -93,6 +104,14 @@ job.test { test } +# METADATA +# title: fetch +# description: Fetch third-party artifacts, such as capabilities JSON files for engines. +job.fetch { + fetch_engine_caps +} + + # METADATA # title: lint # description: Run `regal lint` on the Regal bundle @@ -163,6 +182,28 @@ write_readme { run("./regal table --write-to-readme bundle") } +fetch_engine_caps { + fetch_eopa_caps +} + +fetch_eopa_caps { + templ := { + "remote": "https://github.com/StyraInc/enterprise-opa.git", + "ref": "main", + "srcdir": "capabilities", + "destdir": eopa_caps_dir + } + + # NOTE(charles): My git config forces git to use ssh instead of http + # URLs, which is not desired in this case. It follows others my have + # similar setups locally. Setting GIT_CONFIG=/dev/null in this case + # prevents this. + + fetch_cmd := rq.template("sh -c 'GIT_CONFIG=/dev/null git archive --remote={{.remote | quote}} {{.ref}} {{.srcdir | quote}} | tar -x -C {{.destdir | quote}}'", templ) + run(fetch_cmd) +} + + fmt_all { gci gofumpt From 804d8503648bbfe2ea9157e3f369880c228dac06 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Fri, 23 Aug 2024 14:55:50 -0400 Subject: [PATCH 13/39] fully implement do.rq fetch --- build/do.rq | 106 +- pkg/capabilities/embedded/eopa/v0.100.5.json | 1 + pkg/capabilities/embedded/eopa/v0.100.6.json | 1 + pkg/capabilities/embedded/eopa/v0.100.7.json | 1 + pkg/capabilities/embedded/eopa/v0.100.8.json | 4466 ++++++++++++++ pkg/capabilities/embedded/eopa/v0.101.0.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.101.1.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.102.0.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.102.1.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.102.2.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.102.3.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.102.4.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.102.5.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v0.49.0-5.json | 1 + pkg/capabilities/embedded/eopa/v0.49.0-6.json | 1 + pkg/capabilities/embedded/eopa/v0.49.0-7.json | 1 + pkg/capabilities/embedded/eopa/v0.49.0-8.json | 1 + pkg/capabilities/embedded/eopa/v1.0.0.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.0.1.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.1.0.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.10.0.json | 5082 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.10.1.json | 5082 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.11.0.json | 5144 +++++++++++++++++ pkg/capabilities/embedded/eopa/v1.11.1.json | 5144 +++++++++++++++++ pkg/capabilities/embedded/eopa/v1.12.0.json | 5144 +++++++++++++++++ pkg/capabilities/embedded/eopa/v1.13.0.json | 4918 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.14.0.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.15.0.json | 1 + pkg/capabilities/embedded/eopa/v1.15.1.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.15.2.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.15.3.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.15.4.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.15.5.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.16.0.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.17.0.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.17.1.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.17.2.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.18.0.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.18.1.json | 4975 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.19.0.json | 5006 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.2.0.json | 4598 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.20.0.json | 5050 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.21.0.json | 5095 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.22.0.json | 5095 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.23.0.json | 5095 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.0.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.1.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.2.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.3.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.4.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.5.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.24.6.json | 5112 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.3.0.json | 4615 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.4.0.json | 4677 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.4.1.json | 1 + pkg/capabilities/embedded/eopa/v1.5.0.json | 1 + pkg/capabilities/embedded/eopa/v1.5.1.json | 4702 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.6.0.json | 4702 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.7.0.json | 4702 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.8.0.json | 4727 +++++++++++++++ pkg/capabilities/embedded/eopa/v1.9.0.json | 5060 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.9.2.json | 5060 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.9.3.json | 5060 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.9.4.json | 5060 ++++++++++++++++ pkg/capabilities/embedded/eopa/v1.9.5.json | 5060 ++++++++++++++++ 65 files changed, 264511 insertions(+), 11 deletions(-) create mode 100644 pkg/capabilities/embedded/eopa/v0.100.5.json create mode 100644 pkg/capabilities/embedded/eopa/v0.100.6.json create mode 100644 pkg/capabilities/embedded/eopa/v0.100.7.json create mode 100644 pkg/capabilities/embedded/eopa/v0.100.8.json create mode 100644 pkg/capabilities/embedded/eopa/v0.101.0.json create mode 100644 pkg/capabilities/embedded/eopa/v0.101.1.json create mode 100644 pkg/capabilities/embedded/eopa/v0.102.0.json create mode 100644 pkg/capabilities/embedded/eopa/v0.102.1.json create mode 100644 pkg/capabilities/embedded/eopa/v0.102.2.json create mode 100644 pkg/capabilities/embedded/eopa/v0.102.3.json create mode 100644 pkg/capabilities/embedded/eopa/v0.102.4.json create mode 100644 pkg/capabilities/embedded/eopa/v0.102.5.json create mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-5.json create mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-6.json create mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-7.json create mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-8.json create mode 100644 pkg/capabilities/embedded/eopa/v1.0.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.0.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.1.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.10.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.10.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.11.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.11.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.12.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.13.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.14.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.15.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.15.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.15.2.json create mode 100644 pkg/capabilities/embedded/eopa/v1.15.3.json create mode 100644 pkg/capabilities/embedded/eopa/v1.15.4.json create mode 100644 pkg/capabilities/embedded/eopa/v1.15.5.json create mode 100644 pkg/capabilities/embedded/eopa/v1.16.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.17.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.17.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.17.2.json create mode 100644 pkg/capabilities/embedded/eopa/v1.18.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.18.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.19.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.2.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.20.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.21.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.22.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.23.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.2.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.3.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.4.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.5.json create mode 100644 pkg/capabilities/embedded/eopa/v1.24.6.json create mode 100644 pkg/capabilities/embedded/eopa/v1.3.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.4.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.4.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.5.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.5.1.json create mode 100644 pkg/capabilities/embedded/eopa/v1.6.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.7.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.8.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.9.0.json create mode 100644 pkg/capabilities/embedded/eopa/v1.9.2.json create mode 100644 pkg/capabilities/embedded/eopa/v1.9.3.json create mode 100644 pkg/capabilities/embedded/eopa/v1.9.4.json create mode 100644 pkg/capabilities/embedded/eopa/v1.9.5.json diff --git a/build/do.rq b/build/do.rq index 0f74578e..87dfdfc8 100755 --- a/build/do.rq +++ b/build/do.rq @@ -30,6 +30,8 @@ import future.keywords # Path to Regal's project root. (./build/do.rq/../.. => ./) regal_root := rq.abs(rq.dir(rq.dir(rq.scriptpath()))) +build_dir := rq.joinpath([regal_root, "build"]) + # Root of the directory hierarchy where engine-specific capabilities JSON for # embedding into the Regal binary should be placed. embedded_caps_dir := rq.joinpath([regal_root, "pkg", "capabilities", "embedded"]) @@ -187,20 +189,102 @@ fetch_engine_caps { } fetch_eopa_caps { - templ := { - "remote": "https://github.com/StyraInc/enterprise-opa.git", - "ref": "main", - "srcdir": "capabilities", - "destdir": eopa_caps_dir + + # git ls-remote --tags output looks like this: + # + # ... + # bab5bdd4bb2de45c7d1bcf5d7b5df3c61a131f38 refs/tags/v1.0.0 + # bab5bdd4bb2de45c7d1bcf5d7b5df3c61a131f38 refs/tags/v1.0.1 + # 9ace37dda9859a1afd2fcd6a87dd7f1955be4dc4 refs/tags/v1.10.1 + # ... + # + # so .stdout will look like this: + # + # ... + # [ + # "bab5bdd4bb2de45c7d1bcf5d7b5df3c61a131f38\trefs", + # "tags", + # "v1.0.0" + # ], + # [ + # "bab5bdd4bb2de45c7d1bcf5d7b5df3c61a131f38\trefs", + # "tags", + # "v1.0.1" + # ], + # [ + # "bab5bdd4bb2de45c7d1bcf5d7b5df3c61a131f38\trefs", + # "tags", + # "v1.1.0" + # ], + # ... + + print("fetching tags for enterprise-opa repository") + + eopa_tags_result := rq.run([ + "git", + "ls-remote", + "--tags", + "https://github.com/styrainc/enterprise-opa" + ], { + "stdout_spec": { + "format": "raw", + "options": { + "raw.fs": "/", + "raw.rs": "[\n\r]" + }, + } + } + ) + + { rq.error(sprintf("\nstdout: %s\nstderr: %s\n", [eopa_tags_result.stdout, eopa_tags_result.stderr])) | eopa_tags_result.exitcode != 0 } + + eopa_tags := {r[2] | r := eopa_tags_result.stdout[_]} + + # Get a directory listing for the capabilities directory, filtering for + # only nonzero size files with JSON extensions. The size check is to + # avoid long-tail edge cases where we crashed after opening the file + # for writing but before committing any content. + eopa_caps_tree := {p: f | f := rq.tree(eopa_caps_dir, {})[p]; f.size != 0; f.ext == "json"} + + # Determine which capabilities files are missing, what URL they + # should be fetched from, and where they should end up on disk. + missing_locally := { + {"local": p, "remote": r} + + | + + # construct the local path we expect the caps to exist at + t := eopa_tags[_] + p := rq.joinpath([eopa_caps_dir, sprintf("%s.json", [t])]) + + # eopa_caps_tree has object values, so if the path is missing, + # retrieving a non-object type is sufficient to check for + # nonexistance + object.get(eopa_caps_tree, p, "-") == "-" + + # construct the URL to fetch the content from + r := rq.template("https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/capabilities/{{.tag}}.json", {"tag": t}) } - # NOTE(charles): My git config forces git to use ssh instead of http - # URLs, which is not desired in this case. It follows others my have - # similar setups locally. Setting GIT_CONFIG=/dev/null in this case - # prevents this. + print(sprintf("fetching %d capabilities files locally", [count(missing_locally)])) - fetch_cmd := rq.template("sh -c 'GIT_CONFIG=/dev/null git archive --remote={{.remote | quote}} {{.ref}} {{.srcdir | quote}} | tar -x -C {{.destdir | quote}}'", templ) - run(fetch_cmd) + # Download the capabilities from the constructed URLs. + new_caps := { + {"local": m.local, "content": c} + | + m := missing_locally[_] + print(sprintf("\tfetcing %s", [m.remote])) + resp := http.send({"url": m.remote, "method": "GET"}) + c := resp.raw_body + } + + # Commit the retrieved content to disk. + { + true + | + cap := new_caps[_] + rq.write(cap.content, {"format": "raw", "file_path": cap.local}) + } } diff --git a/pkg/capabilities/embedded/eopa/v0.100.5.json b/pkg/capabilities/embedded/eopa/v0.100.5.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.100.5.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.100.6.json b/pkg/capabilities/embedded/eopa/v0.100.6.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.100.6.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.100.7.json b/pkg/capabilities/embedded/eopa/v0.100.7.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.100.7.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.100.8.json b/pkg/capabilities/embedded/eopa/v0.100.8.json new file mode 100644 index 00000000..9c012de7 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.100.8.json @@ -0,0 +1,4466 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.101.0.json b/pkg/capabilities/embedded/eopa/v0.101.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.101.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.101.1.json b/pkg/capabilities/embedded/eopa/v0.101.1.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.101.1.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.102.0.json b/pkg/capabilities/embedded/eopa/v0.102.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.102.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.102.1.json b/pkg/capabilities/embedded/eopa/v0.102.1.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.102.1.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.102.2.json b/pkg/capabilities/embedded/eopa/v0.102.2.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.102.2.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.102.3.json b/pkg/capabilities/embedded/eopa/v0.102.3.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.102.3.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.102.4.json b/pkg/capabilities/embedded/eopa/v0.102.4.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.102.4.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.102.5.json b/pkg/capabilities/embedded/eopa/v0.102.5.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.102.5.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-5.json b/pkg/capabilities/embedded/eopa/v0.49.0-5.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.49.0-5.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-6.json b/pkg/capabilities/embedded/eopa/v0.49.0-6.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.49.0-6.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-7.json b/pkg/capabilities/embedded/eopa/v0.49.0-7.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.49.0-7.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-8.json b/pkg/capabilities/embedded/eopa/v0.49.0-8.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v0.49.0-8.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.0.0.json b/pkg/capabilities/embedded/eopa/v1.0.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.0.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.0.1.json b/pkg/capabilities/embedded/eopa/v1.0.1.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.0.1.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.1.0.json b/pkg/capabilities/embedded/eopa/v1.1.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.1.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.10.0.json b/pkg/capabilities/embedded/eopa/v1.10.0.json new file mode 100644 index 00000000..41c3f8ee --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.10.0.json @@ -0,0 +1,5082 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.10.1.json b/pkg/capabilities/embedded/eopa/v1.10.1.json new file mode 100644 index 00000000..41c3f8ee --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.10.1.json @@ -0,0 +1,5082 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.11.0.json b/pkg/capabilities/embedded/eopa/v1.11.0.json new file mode 100644 index 00000000..7dc18dac --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.11.0.json @@ -0,0 +1,5144 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.11.1.json b/pkg/capabilities/embedded/eopa/v1.11.1.json new file mode 100644 index 00000000..7dc18dac --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.11.1.json @@ -0,0 +1,5144 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.12.0.json b/pkg/capabilities/embedded/eopa/v1.12.0.json new file mode 100644 index 00000000..7dc18dac --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.12.0.json @@ -0,0 +1,5144 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.13.0.json b/pkg/capabilities/embedded/eopa/v1.13.0.json new file mode 100644 index 00000000..f62c865e --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.13.0.json @@ -0,0 +1,4918 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.14.0.json b/pkg/capabilities/embedded/eopa/v1.14.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.14.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.15.0.json b/pkg/capabilities/embedded/eopa/v1.15.0.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.15.0.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.15.1.json b/pkg/capabilities/embedded/eopa/v1.15.1.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.15.1.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.15.2.json b/pkg/capabilities/embedded/eopa/v1.15.2.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.15.2.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.15.3.json b/pkg/capabilities/embedded/eopa/v1.15.3.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.15.3.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.15.4.json b/pkg/capabilities/embedded/eopa/v1.15.4.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.15.4.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.15.5.json b/pkg/capabilities/embedded/eopa/v1.15.5.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.15.5.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.16.0.json b/pkg/capabilities/embedded/eopa/v1.16.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.16.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.17.0.json b/pkg/capabilities/embedded/eopa/v1.17.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.17.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.17.1.json b/pkg/capabilities/embedded/eopa/v1.17.1.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.17.1.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.17.2.json b/pkg/capabilities/embedded/eopa/v1.17.2.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.17.2.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.18.0.json b/pkg/capabilities/embedded/eopa/v1.18.0.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.18.0.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.18.1.json b/pkg/capabilities/embedded/eopa/v1.18.1.json new file mode 100644 index 00000000..d45b23b5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.18.1.json @@ -0,0 +1,4975 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.19.0.json b/pkg/capabilities/embedded/eopa/v1.19.0.json new file mode 100644 index 00000000..21d240aa --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.19.0.json @@ -0,0 +1,5006 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.2.0.json b/pkg/capabilities/embedded/eopa/v1.2.0.json new file mode 100644 index 00000000..8848e027 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.2.0.json @@ -0,0 +1,4598 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.20.0.json b/pkg/capabilities/embedded/eopa/v1.20.0.json new file mode 100644 index 00000000..b71b9d2d --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.20.0.json @@ -0,0 +1,5050 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.21.0.json b/pkg/capabilities/embedded/eopa/v1.21.0.json new file mode 100644 index 00000000..addb14a5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.21.0.json @@ -0,0 +1,5095 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.22.0.json b/pkg/capabilities/embedded/eopa/v1.22.0.json new file mode 100644 index 00000000..addb14a5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.22.0.json @@ -0,0 +1,5095 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.23.0.json b/pkg/capabilities/embedded/eopa/v1.23.0.json new file mode 100644 index 00000000..addb14a5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.23.0.json @@ -0,0 +1,5095 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.0.json b/pkg/capabilities/embedded/eopa/v1.24.0.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.0.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.1.json b/pkg/capabilities/embedded/eopa/v1.24.1.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.1.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.2.json b/pkg/capabilities/embedded/eopa/v1.24.2.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.2.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.3.json b/pkg/capabilities/embedded/eopa/v1.24.3.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.3.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.4.json b/pkg/capabilities/embedded/eopa/v1.24.4.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.4.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.5.json b/pkg/capabilities/embedded/eopa/v1.24.5.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.5.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.24.6.json b/pkg/capabilities/embedded/eopa/v1.24.6.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.24.6.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.3.0.json b/pkg/capabilities/embedded/eopa/v1.3.0.json new file mode 100644 index 00000000..eeedfeca --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.3.0.json @@ -0,0 +1,4615 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.4.0.json b/pkg/capabilities/embedded/eopa/v1.4.0.json new file mode 100644 index 00000000..e4ab07ca --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.4.0.json @@ -0,0 +1,4677 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.4.1.json b/pkg/capabilities/embedded/eopa/v1.4.1.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.4.1.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.5.0.json b/pkg/capabilities/embedded/eopa/v1.5.0.json new file mode 100644 index 00000000..1becba2b --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.5.0.json @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.5.1.json b/pkg/capabilities/embedded/eopa/v1.5.1.json new file mode 100644 index 00000000..84083237 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.5.1.json @@ -0,0 +1,4702 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.6.0.json b/pkg/capabilities/embedded/eopa/v1.6.0.json new file mode 100644 index 00000000..84083237 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.6.0.json @@ -0,0 +1,4702 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.7.0.json b/pkg/capabilities/embedded/eopa/v1.7.0.json new file mode 100644 index 00000000..84083237 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.7.0.json @@ -0,0 +1,4702 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.8.0.json b/pkg/capabilities/embedded/eopa/v1.8.0.json new file mode 100644 index 00000000..a27e5175 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.8.0.json @@ -0,0 +1,4727 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.9.0.json b/pkg/capabilities/embedded/eopa/v1.9.0.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.9.0.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.9.2.json b/pkg/capabilities/embedded/eopa/v1.9.2.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.9.2.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.9.3.json b/pkg/capabilities/embedded/eopa/v1.9.3.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.9.3.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.9.4.json b/pkg/capabilities/embedded/eopa/v1.9.4.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.9.4.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.9.5.json b/pkg/capabilities/embedded/eopa/v1.9.5.json new file mode 100644 index 00000000..54f702c5 --- /dev/null +++ b/pkg/capabilities/embedded/eopa/v1.9.5.json @@ -0,0 +1,5060 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "dynamodb.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "wasm_abi_versions": null, + "features": [ + "rule_head_ref_string_prefixes", + "bjson_bundle", + "grpc_service", + "kafka_data_plugin", + "git_data_plugin", + "ldap_data_plugin", + "s3_data_plugin", + "okta_data_plugin", + "http_data_plugin", + "lia_plugin" + ] +} From d159426daee3edd5d9949624d5aa636cebed29d0 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Fri, 23 Aug 2024 16:34:36 -0400 Subject: [PATCH 14/39] fix broken caps, add tests to embedded --- build/do.rq | 28 +++++++- internal/lsp/rego/builtins.go | 4 +- pkg/capabilities/capabilities.go | 6 +- pkg/capabilities/embedded/embedded.go | 68 +++++++++++++++++++ pkg/capabilities/embedded/embedded_test.go | 36 ++++++++++ pkg/capabilities/embedded/eopa/v0.100.5.json | 1 - pkg/capabilities/embedded/eopa/v0.100.6.json | 1 - pkg/capabilities/embedded/eopa/v0.100.7.json | 1 - pkg/capabilities/embedded/eopa/v0.49.0-5.json | 1 - pkg/capabilities/embedded/eopa/v0.49.0-6.json | 1 - pkg/capabilities/embedded/eopa/v0.49.0-7.json | 1 - pkg/capabilities/embedded/eopa/v0.49.0-8.json | 1 - pkg/capabilities/embedded/eopa/v1.15.0.json | 1 - pkg/capabilities/embedded/eopa/v1.4.1.json | 1 - pkg/capabilities/embedded/eopa/v1.5.0.json | 1 - 15 files changed, 135 insertions(+), 17 deletions(-) create mode 100644 pkg/capabilities/embedded/embedded.go create mode 100644 pkg/capabilities/embedded/embedded_test.go delete mode 100644 pkg/capabilities/embedded/eopa/v0.100.5.json delete mode 100644 pkg/capabilities/embedded/eopa/v0.100.6.json delete mode 100644 pkg/capabilities/embedded/eopa/v0.100.7.json delete mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-5.json delete mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-6.json delete mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-7.json delete mode 100644 pkg/capabilities/embedded/eopa/v0.49.0-8.json delete mode 100644 pkg/capabilities/embedded/eopa/v1.15.0.json delete mode 100644 pkg/capabilities/embedded/eopa/v1.4.1.json delete mode 100644 pkg/capabilities/embedded/eopa/v1.5.0.json diff --git a/build/do.rq b/build/do.rq index 87dfdfc8..b9b02f58 100755 --- a/build/do.rq +++ b/build/do.rq @@ -238,7 +238,25 @@ fetch_eopa_caps { { rq.error(sprintf("\nstdout: %s\nstderr: %s\n", [eopa_tags_result.stdout, eopa_tags_result.stderr])) | eopa_tags_result.exitcode != 0 } - eopa_tags := {r[2] | r := eopa_tags_result.stdout[_]} + + # We assume that tags and capabilities files are 1:1, but some EOPA + # release tags in the past did not correctly get capabilities files, so + # we eliminate them from consideration. + + known_bad_tags := { + "v0.100.5", # tag missing capabilities file + "v0.100.6", # tag missing capabilities file + "v0.100.7", # tag missing capabilities file + "v0.49.0-5", # tag missing capabilities file + "v0.49.0-6", # tag missing capabilities file + "v0.49.0-7", # tag missing capabilities file + "v0.49.0-8", # tag missing capabilities file + "v1.15.0", # tag missing capabilities file (misnamed v0.15.0) + "v1.4.1", # tag missing capabilities file + "v1.5.0", # tag missing capabilities file + } + + eopa_tags := {t | r := eopa_tags_result.stdout[_]; t := r[2] ; not known_bad_tags[t]} # Get a directory listing for the capabilities directory, filtering for # only nonzero size files with JSON extensions. The size check is to @@ -266,7 +284,7 @@ fetch_eopa_caps { r := rq.template("https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/capabilities/{{.tag}}.json", {"tag": t}) } - print(sprintf("fetching %d capabilities files locally", [count(missing_locally)])) + print(sprintf("fetching %d capabilities files missing locally", [count(missing_locally)])) # Download the capabilities from the constructed URLs. new_caps := { @@ -275,7 +293,13 @@ fetch_eopa_caps { m := missing_locally[_] print(sprintf("\tfetcing %s", [m.remote])) resp := http.send({"url": m.remote, "method": "GET"}) + + { rq.error(sprintf("non-200 status code '%d' for URL '%s'", [resp.status_code, m.remote])) | resp.status_code != 200 } + c := resp.raw_body + + # sanity check in case we got the URL wrong + not regex.match("404: Not Found", c) } # Commit the retrieved content to disk. diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index dbd6a1a6..b0966805 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -7,8 +7,8 @@ import ( "github.com/open-policy-agent/opa/ast" ) -var builtInsLock = &sync.RWMutex{} // nolint:gochecknoglobals -var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) //nolint:gochecknoglobals +var builtInsLock = &sync.RWMutex{} +var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) // Update updates the builtins database with the provided capabilities. func UpdateBuiltins(caps *ast.Capabilities) { diff --git a/pkg/capabilities/capabilities.go b/pkg/capabilities/capabilities.go index 275e3003..36641664 100644 --- a/pkg/capabilities/capabilities.go +++ b/pkg/capabilities/capabilities.go @@ -16,7 +16,7 @@ import ( "github.com/coreos/go-semver/semver" - eopa_caps "github.com/styrainc/enterprise-opa/capabilities" + embedded "github.com/styrainc/regal/pkg/capabilities/embedded" ) const ( @@ -145,7 +145,7 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { case engineOPA: return ast.LoadCapabilitiesVersion(version) case engineEOPA: - return eopa_caps.LoadCapabilitiesVersion(version) + return embedded.LoadCapabilitiesVersion(engineEOPA, version) default: return nil, fmt.Errorf("engine '%s' not present in embedded capabilities database", engine) } @@ -243,7 +243,7 @@ func List() (map[string][]string, error) { return nil, err } - eopaCaps, err := eopa_caps.LoadCapabilitiesVersions() + eopaCaps, err := embedded.LoadCapabilitiesVersions(engineEOPA) if err != nil { return nil, err } diff --git a/pkg/capabilities/embedded/embedded.go b/pkg/capabilities/embedded/embedded.go new file mode 100644 index 00000000..9c8d631e --- /dev/null +++ b/pkg/capabilities/embedded/embedded.go @@ -0,0 +1,68 @@ +// This file is copied and modified from: +// +// https://github.com/open-policy-agent/opa/blob/main/ast/capabilities.go +// +// It is made available under the Apache 2 license, which you can view here: +// +// https://github.com/open-policy-agent/opa/blob/main/LICENSE +// +// The original license disclaimer is included below: +// +// Copyright 2021 The OPA Authors. All rights reserved. +// Use of this source code is governed by an Apache2 +// license that can be found in the LICENSE file. +// +// This file and the included helper methods allow Enterprise OPA's +// capabilities files to be consumed as a Go package. This mirrors the way Open +// Policy Agent does thing. + +// Package embedded handles embedding and access JSON files directly included in +// Regal from it's source repository +package embedded + +import ( + "bytes" + "embed" + "fmt" + "strings" + + "github.com/open-policy-agent/opa/ast" +) + +//go:embed */*.json +var FS embed.FS + +// LoadCapabilitiesVersion loads a JSON serialized capabilities structure from the specific version. +func LoadCapabilitiesVersion(engine, version string) (*ast.Capabilities, error) { + cvs, err := LoadCapabilitiesVersions(engine) + if err != nil { + return nil, err + } + + for _, cv := range cvs { + if cv == version { + cont, err := FS.ReadFile("eopa/" + cv + ".json") + if err != nil { + return nil, err + } + + return ast.LoadCapabilitiesJSON(bytes.NewReader(cont)) + } + + } + return nil, fmt.Errorf("(Regal embedded %s capabilities library) no capabilities version found %v", engine, version) +} + +// LoadCapabilitiesVersions loads all capabilities versions +func LoadCapabilitiesVersions(engine string) ([]string, error) { + ents, err := FS.ReadDir(engine) + if err != nil { + return nil, err + } + + capabilitiesVersions := make([]string, 0, len(ents)) + for _, ent := range ents { + capabilitiesVersions = append(capabilitiesVersions, strings.Replace(ent.Name(), ".json", "", 1)) + } + return capabilitiesVersions, nil +} diff --git a/pkg/capabilities/embedded/embedded_test.go b/pkg/capabilities/embedded/embedded_test.go new file mode 100644 index 00000000..f2e990fc --- /dev/null +++ b/pkg/capabilities/embedded/embedded_test.go @@ -0,0 +1,36 @@ +package embedded + +import "testing" + +func TestEmbeddedEOPA(t *testing.T) { + // As of 2024-08-23, there are 57 capabilities files in the EOPA repo. + // It follows that there should never be less than 54 valid + // capabilities in the embedded database. This is really just a sanity + // check to ensure the JSON files didn't get misplaced or something to + // that effect. + // + // This also ensures that all of the embedded capabilities files are + // valid JSON we can successfully marshal into *ast.Capabilities. + + versions, err := LoadCapabilitiesVersions("eopa") + if err != nil { + t.Fatal(err) + } + + if len(versions) < 54 { + t.Errorf("Expected at least 54 EOPA capabilities in the embedded database") + } + + for _, v := range versions { + caps, err := LoadCapabilitiesVersion("eopa", v) + + if err != nil { + t.Errorf("error with eopa capabilities version %s: %v", v, err) + } + + if len(caps.Builtins) < 1 { + t.Errorf("eopa capabilities version %s has no builtins", v) + } + } + +} diff --git a/pkg/capabilities/embedded/eopa/v0.100.5.json b/pkg/capabilities/embedded/eopa/v0.100.5.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.100.5.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.100.6.json b/pkg/capabilities/embedded/eopa/v0.100.6.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.100.6.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.100.7.json b/pkg/capabilities/embedded/eopa/v0.100.7.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.100.7.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-5.json b/pkg/capabilities/embedded/eopa/v0.49.0-5.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.49.0-5.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-6.json b/pkg/capabilities/embedded/eopa/v0.49.0-6.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.49.0-6.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-7.json b/pkg/capabilities/embedded/eopa/v0.49.0-7.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.49.0-7.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v0.49.0-8.json b/pkg/capabilities/embedded/eopa/v0.49.0-8.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v0.49.0-8.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.15.0.json b/pkg/capabilities/embedded/eopa/v1.15.0.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v1.15.0.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.4.1.json b/pkg/capabilities/embedded/eopa/v1.4.1.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v1.4.1.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file diff --git a/pkg/capabilities/embedded/eopa/v1.5.0.json b/pkg/capabilities/embedded/eopa/v1.5.0.json deleted file mode 100644 index 1becba2b..00000000 --- a/pkg/capabilities/embedded/eopa/v1.5.0.json +++ /dev/null @@ -1 +0,0 @@ -404: Not Found \ No newline at end of file From 0e60495cbfd38bf8b4304751c23b46cf58f1e275 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Fri, 23 Aug 2024 16:36:13 -0400 Subject: [PATCH 15/39] remove enterprise-opa dep We have the capabilities embedded into Regal now instead. --- go.mod | 1 - go.sum | 2 -- 2 files changed, 3 deletions(-) diff --git a/go.mod b/go.mod index af010803..76e1c56a 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,6 @@ require ( github.com/sourcegraph/jsonrpc2 v0.2.0 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 - github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd golang.org/x/exp v0.0.0-20230905200255-921286631fa9 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index ffc66d18..948dd564 100644 --- a/go.sum +++ b/go.sum @@ -182,8 +182,6 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd h1:CfEYXFe5FyYko+UtZF1llKnombWctPE/LAMBtMOz8yc= -github.com/styrainc/enterprise-opa v1.24.6-0.20240820155757-4e9e10dc8edd/go.mod h1:SAO8I1FadwvJvLevyJ5vXlAaEYIdjv5h+pVaBQZSUyk= github.com/tchap/go-patricia/v2 v2.3.1 h1:6rQp39lgIYZ+MHmdEq4xzuk1t7OdC35z/xm0BGhTkes= github.com/tchap/go-patricia/v2 v2.3.1/go.mod h1:VZRHKAb53DLaG+nA9EaYYiaEx6YztwDlLElMsnSHD4k= github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= From c43422faf6d2dbd10e44534b4973cfc9111cf952 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Mon, 26 Aug 2024 16:09:09 -0400 Subject: [PATCH 16/39] move capabilities to be internal We want the regal:// URI scheme to be a hidden implementation detail. --- build/do.rq | 2 +- .../capabilities/capabilities.go | 2 +- .../capabilities/capabilities_test.go | 0 .../capabilities/embedded/embedded.go | 0 .../capabilities/embedded/embedded_test.go | 0 .../capabilities/embedded/eopa/v0.100.8.json | 0 .../capabilities/embedded/eopa/v0.101.0.json | 0 .../capabilities/embedded/eopa/v0.101.1.json | 0 .../capabilities/embedded/eopa/v0.102.0.json | 0 .../capabilities/embedded/eopa/v0.102.1.json | 0 .../capabilities/embedded/eopa/v0.102.2.json | 0 .../capabilities/embedded/eopa/v0.102.3.json | 0 .../capabilities/embedded/eopa/v0.102.4.json | 0 .../capabilities/embedded/eopa/v0.102.5.json | 0 .../capabilities/embedded/eopa/v1.0.0.json | 0 .../capabilities/embedded/eopa/v1.0.1.json | 0 .../capabilities/embedded/eopa/v1.1.0.json | 0 .../capabilities/embedded/eopa/v1.10.0.json | 0 .../capabilities/embedded/eopa/v1.10.1.json | 0 .../capabilities/embedded/eopa/v1.11.0.json | 0 .../capabilities/embedded/eopa/v1.11.1.json | 0 .../capabilities/embedded/eopa/v1.12.0.json | 0 .../capabilities/embedded/eopa/v1.13.0.json | 0 .../capabilities/embedded/eopa/v1.14.0.json | 0 .../capabilities/embedded/eopa/v1.15.1.json | 0 .../capabilities/embedded/eopa/v1.15.2.json | 0 .../capabilities/embedded/eopa/v1.15.3.json | 0 .../capabilities/embedded/eopa/v1.15.4.json | 0 .../capabilities/embedded/eopa/v1.15.5.json | 0 .../capabilities/embedded/eopa/v1.16.0.json | 0 .../capabilities/embedded/eopa/v1.17.0.json | 0 .../capabilities/embedded/eopa/v1.17.1.json | 0 .../capabilities/embedded/eopa/v1.17.2.json | 0 .../capabilities/embedded/eopa/v1.18.0.json | 0 .../capabilities/embedded/eopa/v1.18.1.json | 0 .../capabilities/embedded/eopa/v1.19.0.json | 0 .../capabilities/embedded/eopa/v1.2.0.json | 0 .../capabilities/embedded/eopa/v1.20.0.json | 0 .../capabilities/embedded/eopa/v1.21.0.json | 0 .../capabilities/embedded/eopa/v1.22.0.json | 0 .../capabilities/embedded/eopa/v1.23.0.json | 0 .../capabilities/embedded/eopa/v1.24.0.json | 0 .../capabilities/embedded/eopa/v1.24.1.json | 0 .../capabilities/embedded/eopa/v1.24.2.json | 0 .../capabilities/embedded/eopa/v1.24.3.json | 0 .../capabilities/embedded/eopa/v1.24.4.json | 0 .../capabilities/embedded/eopa/v1.24.5.json | 0 .../capabilities/embedded/eopa/v1.24.6.json | 0 .../capabilities/embedded/eopa/v1.24.7.json | 5112 +++++++++++++++++ .../capabilities/embedded/eopa/v1.3.0.json | 0 .../capabilities/embedded/eopa/v1.4.0.json | 0 .../capabilities/embedded/eopa/v1.5.1.json | 0 .../capabilities/embedded/eopa/v1.6.0.json | 0 .../capabilities/embedded/eopa/v1.7.0.json | 0 .../capabilities/embedded/eopa/v1.8.0.json | 0 .../capabilities/embedded/eopa/v1.9.0.json | 0 .../capabilities/embedded/eopa/v1.9.2.json | 0 .../capabilities/embedded/eopa/v1.9.3.json | 0 .../capabilities/embedded/eopa/v1.9.4.json | 0 .../capabilities/embedded/eopa/v1.9.5.json | 0 .../capabilities/testdata/capabilities.json | 0 internal/lsp/server.go | 2 +- pkg/config/config.go | 2 +- 63 files changed, 5116 insertions(+), 4 deletions(-) rename {pkg => internal}/capabilities/capabilities.go (99%) rename {pkg => internal}/capabilities/capabilities_test.go (100%) rename {pkg => internal}/capabilities/embedded/embedded.go (100%) rename {pkg => internal}/capabilities/embedded/embedded_test.go (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.100.8.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.101.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.101.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.102.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.102.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.102.2.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.102.3.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.102.4.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v0.102.5.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.0.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.0.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.1.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.10.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.10.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.11.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.11.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.12.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.13.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.14.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.15.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.15.2.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.15.3.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.15.4.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.15.5.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.16.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.17.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.17.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.17.2.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.18.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.18.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.19.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.2.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.20.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.21.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.22.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.23.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.2.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.3.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.4.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.5.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.24.6.json (100%) create mode 100644 internal/capabilities/embedded/eopa/v1.24.7.json rename {pkg => internal}/capabilities/embedded/eopa/v1.3.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.4.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.5.1.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.6.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.7.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.8.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.9.0.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.9.2.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.9.3.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.9.4.json (100%) rename {pkg => internal}/capabilities/embedded/eopa/v1.9.5.json (100%) rename {pkg => internal}/capabilities/testdata/capabilities.json (100%) diff --git a/build/do.rq b/build/do.rq index b9b02f58..f518280a 100755 --- a/build/do.rq +++ b/build/do.rq @@ -34,7 +34,7 @@ build_dir := rq.joinpath([regal_root, "build"]) # Root of the directory hierarchy where engine-specific capabilities JSON for # embedding into the Regal binary should be placed. -embedded_caps_dir := rq.joinpath([regal_root, "pkg", "capabilities", "embedded"]) +embedded_caps_dir := rq.joinpath([regal_root, "internal", "capabilities", "embedded"]) # Directory where EOPA-specific JSON capabilities for embedding should be # placed. diff --git a/pkg/capabilities/capabilities.go b/internal/capabilities/capabilities.go similarity index 99% rename from pkg/capabilities/capabilities.go rename to internal/capabilities/capabilities.go index 36641664..b80d9ec4 100644 --- a/pkg/capabilities/capabilities.go +++ b/internal/capabilities/capabilities.go @@ -16,7 +16,7 @@ import ( "github.com/coreos/go-semver/semver" - embedded "github.com/styrainc/regal/pkg/capabilities/embedded" + embedded "github.com/styrainc/regal/internal/capabilities/embedded" ) const ( diff --git a/pkg/capabilities/capabilities_test.go b/internal/capabilities/capabilities_test.go similarity index 100% rename from pkg/capabilities/capabilities_test.go rename to internal/capabilities/capabilities_test.go diff --git a/pkg/capabilities/embedded/embedded.go b/internal/capabilities/embedded/embedded.go similarity index 100% rename from pkg/capabilities/embedded/embedded.go rename to internal/capabilities/embedded/embedded.go diff --git a/pkg/capabilities/embedded/embedded_test.go b/internal/capabilities/embedded/embedded_test.go similarity index 100% rename from pkg/capabilities/embedded/embedded_test.go rename to internal/capabilities/embedded/embedded_test.go diff --git a/pkg/capabilities/embedded/eopa/v0.100.8.json b/internal/capabilities/embedded/eopa/v0.100.8.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.100.8.json rename to internal/capabilities/embedded/eopa/v0.100.8.json diff --git a/pkg/capabilities/embedded/eopa/v0.101.0.json b/internal/capabilities/embedded/eopa/v0.101.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.101.0.json rename to internal/capabilities/embedded/eopa/v0.101.0.json diff --git a/pkg/capabilities/embedded/eopa/v0.101.1.json b/internal/capabilities/embedded/eopa/v0.101.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.101.1.json rename to internal/capabilities/embedded/eopa/v0.101.1.json diff --git a/pkg/capabilities/embedded/eopa/v0.102.0.json b/internal/capabilities/embedded/eopa/v0.102.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.102.0.json rename to internal/capabilities/embedded/eopa/v0.102.0.json diff --git a/pkg/capabilities/embedded/eopa/v0.102.1.json b/internal/capabilities/embedded/eopa/v0.102.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.102.1.json rename to internal/capabilities/embedded/eopa/v0.102.1.json diff --git a/pkg/capabilities/embedded/eopa/v0.102.2.json b/internal/capabilities/embedded/eopa/v0.102.2.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.102.2.json rename to internal/capabilities/embedded/eopa/v0.102.2.json diff --git a/pkg/capabilities/embedded/eopa/v0.102.3.json b/internal/capabilities/embedded/eopa/v0.102.3.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.102.3.json rename to internal/capabilities/embedded/eopa/v0.102.3.json diff --git a/pkg/capabilities/embedded/eopa/v0.102.4.json b/internal/capabilities/embedded/eopa/v0.102.4.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.102.4.json rename to internal/capabilities/embedded/eopa/v0.102.4.json diff --git a/pkg/capabilities/embedded/eopa/v0.102.5.json b/internal/capabilities/embedded/eopa/v0.102.5.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v0.102.5.json rename to internal/capabilities/embedded/eopa/v0.102.5.json diff --git a/pkg/capabilities/embedded/eopa/v1.0.0.json b/internal/capabilities/embedded/eopa/v1.0.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.0.0.json rename to internal/capabilities/embedded/eopa/v1.0.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.0.1.json b/internal/capabilities/embedded/eopa/v1.0.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.0.1.json rename to internal/capabilities/embedded/eopa/v1.0.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.1.0.json b/internal/capabilities/embedded/eopa/v1.1.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.1.0.json rename to internal/capabilities/embedded/eopa/v1.1.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.10.0.json b/internal/capabilities/embedded/eopa/v1.10.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.10.0.json rename to internal/capabilities/embedded/eopa/v1.10.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.10.1.json b/internal/capabilities/embedded/eopa/v1.10.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.10.1.json rename to internal/capabilities/embedded/eopa/v1.10.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.11.0.json b/internal/capabilities/embedded/eopa/v1.11.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.11.0.json rename to internal/capabilities/embedded/eopa/v1.11.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.11.1.json b/internal/capabilities/embedded/eopa/v1.11.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.11.1.json rename to internal/capabilities/embedded/eopa/v1.11.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.12.0.json b/internal/capabilities/embedded/eopa/v1.12.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.12.0.json rename to internal/capabilities/embedded/eopa/v1.12.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.13.0.json b/internal/capabilities/embedded/eopa/v1.13.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.13.0.json rename to internal/capabilities/embedded/eopa/v1.13.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.14.0.json b/internal/capabilities/embedded/eopa/v1.14.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.14.0.json rename to internal/capabilities/embedded/eopa/v1.14.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.15.1.json b/internal/capabilities/embedded/eopa/v1.15.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.15.1.json rename to internal/capabilities/embedded/eopa/v1.15.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.15.2.json b/internal/capabilities/embedded/eopa/v1.15.2.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.15.2.json rename to internal/capabilities/embedded/eopa/v1.15.2.json diff --git a/pkg/capabilities/embedded/eopa/v1.15.3.json b/internal/capabilities/embedded/eopa/v1.15.3.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.15.3.json rename to internal/capabilities/embedded/eopa/v1.15.3.json diff --git a/pkg/capabilities/embedded/eopa/v1.15.4.json b/internal/capabilities/embedded/eopa/v1.15.4.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.15.4.json rename to internal/capabilities/embedded/eopa/v1.15.4.json diff --git a/pkg/capabilities/embedded/eopa/v1.15.5.json b/internal/capabilities/embedded/eopa/v1.15.5.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.15.5.json rename to internal/capabilities/embedded/eopa/v1.15.5.json diff --git a/pkg/capabilities/embedded/eopa/v1.16.0.json b/internal/capabilities/embedded/eopa/v1.16.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.16.0.json rename to internal/capabilities/embedded/eopa/v1.16.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.17.0.json b/internal/capabilities/embedded/eopa/v1.17.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.17.0.json rename to internal/capabilities/embedded/eopa/v1.17.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.17.1.json b/internal/capabilities/embedded/eopa/v1.17.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.17.1.json rename to internal/capabilities/embedded/eopa/v1.17.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.17.2.json b/internal/capabilities/embedded/eopa/v1.17.2.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.17.2.json rename to internal/capabilities/embedded/eopa/v1.17.2.json diff --git a/pkg/capabilities/embedded/eopa/v1.18.0.json b/internal/capabilities/embedded/eopa/v1.18.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.18.0.json rename to internal/capabilities/embedded/eopa/v1.18.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.18.1.json b/internal/capabilities/embedded/eopa/v1.18.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.18.1.json rename to internal/capabilities/embedded/eopa/v1.18.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.19.0.json b/internal/capabilities/embedded/eopa/v1.19.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.19.0.json rename to internal/capabilities/embedded/eopa/v1.19.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.2.0.json b/internal/capabilities/embedded/eopa/v1.2.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.2.0.json rename to internal/capabilities/embedded/eopa/v1.2.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.20.0.json b/internal/capabilities/embedded/eopa/v1.20.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.20.0.json rename to internal/capabilities/embedded/eopa/v1.20.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.21.0.json b/internal/capabilities/embedded/eopa/v1.21.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.21.0.json rename to internal/capabilities/embedded/eopa/v1.21.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.22.0.json b/internal/capabilities/embedded/eopa/v1.22.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.22.0.json rename to internal/capabilities/embedded/eopa/v1.22.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.23.0.json b/internal/capabilities/embedded/eopa/v1.23.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.23.0.json rename to internal/capabilities/embedded/eopa/v1.23.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.0.json b/internal/capabilities/embedded/eopa/v1.24.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.0.json rename to internal/capabilities/embedded/eopa/v1.24.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.1.json b/internal/capabilities/embedded/eopa/v1.24.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.1.json rename to internal/capabilities/embedded/eopa/v1.24.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.2.json b/internal/capabilities/embedded/eopa/v1.24.2.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.2.json rename to internal/capabilities/embedded/eopa/v1.24.2.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.3.json b/internal/capabilities/embedded/eopa/v1.24.3.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.3.json rename to internal/capabilities/embedded/eopa/v1.24.3.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.4.json b/internal/capabilities/embedded/eopa/v1.24.4.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.4.json rename to internal/capabilities/embedded/eopa/v1.24.4.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.5.json b/internal/capabilities/embedded/eopa/v1.24.5.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.5.json rename to internal/capabilities/embedded/eopa/v1.24.5.json diff --git a/pkg/capabilities/embedded/eopa/v1.24.6.json b/internal/capabilities/embedded/eopa/v1.24.6.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.24.6.json rename to internal/capabilities/embedded/eopa/v1.24.6.json diff --git a/internal/capabilities/embedded/eopa/v1.24.7.json b/internal/capabilities/embedded/eopa/v1.24.7.json new file mode 100644 index 00000000..bc473ed8 --- /dev/null +++ b/internal/capabilities/embedded/eopa/v1.24.7.json @@ -0,0 +1,5112 @@ +{ + "builtins": [ + { + "name": "abs", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "all", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "and", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "\u0026" + }, + { + "name": "any", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "array.concat", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.reverse", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "array.slice", + "decl": { + "args": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "assign", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": ":=" + }, + { + "name": "base64.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "base64url.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "base64url.encode_no_pad", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "bits.and", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.lsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.negate", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.or", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.rsh", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "bits.xor", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "cast_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "cast_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "cast_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "null" + }, + "type": "function" + } + }, + { + "name": "cast_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "cast_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "cast_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "ceil", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "concat", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "count", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.md5", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha1", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.hmac.sha512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.md5", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.sha1", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.sha256", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificate_request", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_certificates", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "crypto.x509.parse_rsa_private_key", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "div", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "/" + }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "endswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "eq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "=" + }, + { + "name": "equal", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "==" + }, + { + "name": "floor", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "format_int", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "glob.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "of": [ + { + "type": "null" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + } + ], + "type": "any" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "glob.quote_meta", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "graph.reachable", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graph.reachable_paths", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "graphql.is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "graphql.parse", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_and_verify", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_query", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.parse_schema", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "graphql.schema_is_valid", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "gt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e" + }, + { + "name": "gte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003e=" + }, + { + "name": "hex.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "hex.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "http.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "indexof", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "indexof_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "internal.member_2", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.member_3", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "in" + }, + { + "name": "internal.print", + "decl": { + "args": [ + { + "dynamic": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "array" + } + ], + "type": "function" + } + }, + { + "name": "intersection", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "static": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "io.jwt.decode_verify", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.encode_sign_raw", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "io.jwt.verify_es256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_es512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_hs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_ps512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs256", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs384", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "io.jwt.verify_rs512", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_array", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_boolean", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_null", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_number", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_object", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_set", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "is_string", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "json.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "json.match_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "static": [ + { + "key": "desc", + "value": { + "type": "string" + } + }, + { + "key": "error", + "value": { + "type": "string" + } + }, + { + "key": "field", + "value": { + "type": "string" + } + }, + { + "key": "type", + "value": { + "type": "string" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "json.patch", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "op", + "value": { + "type": "string" + } + }, + { + "key": "path", + "value": { + "type": "any" + } + } + ], + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "json.verify_schema", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "of": [ + { + "type": "null" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "lower", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "lt", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c" + }, + { + "name": "lte", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "\u003c=" + }, + { + "name": "max", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "min", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "minus", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": [ + { + "type": "number" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + "type": "function" + }, + "infix": "-" + }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mul", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "*" + }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "neq", + "decl": { + "args": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + }, + "infix": "!=" + }, + { + "name": "net.cidr_contains", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_contains_matches", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "static": [ + { + "type": "any" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_expand", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_intersects", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.cidr_merge", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "of": [ + { + "type": "string" + } + ], + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "net.cidr_overlap", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "net.lookup_ip_addr", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "of": { + "type": "string" + }, + "type": "set" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "numbers.range", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "object.filter", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "any" + }, + { + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.keys", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "object.remove", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.subset", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "object.union_n", + "decl": { + "args": [ + { + "dynamic": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "opa.runtime", + "decl": { + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "or", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + }, + "infix": "|" + }, + { + "name": "plus", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "+" + }, + { + "name": "print", + "decl": { + "type": "function", + "variadic": { + "type": "any" + } + } + }, + { + "name": "product", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "providers.aws.sign_req", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rand.intn", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "re_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "regex.find_all_string_submatch_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.find_n", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.globs_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "regex.replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "regex.split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "regex.template_match", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "rego.metadata.chain", + "decl": { + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "rego.metadata.rule", + "decl": { + "result": { + "type": "any" + }, + "type": "function" + } + }, + { + "name": "rego.parse_module", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "rem", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + }, + "infix": "%" + }, + { + "name": "replace", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "round", + "decl": { + "args": [ + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.compare", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "semver.is_valid", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "set_diff", + "decl": { + "args": [ + { + "of": { + "type": "any" + }, + "type": "set" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "sort", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "of": { + "type": "any" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "split", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + "type": "function" + } + }, + { + "name": "sprintf", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "any" + }, + "type": "array" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "startswith", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_prefix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.any_suffix_match", + "decl": { + "args": [ + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.replace_n", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "strings.reverse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "substring", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "sum", + "decl": { + "args": [ + { + "of": [ + { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + { + "of": { + "type": "number" + }, + "type": "set" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.add_date", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.clock", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.date", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.diff", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + }, + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "static": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "type": "function" + } + }, + { + "name": "time.format", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "time.now_ns", + "decl": { + "result": { + "type": "number" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "time.parse_duration_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_ns", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.parse_rfc3339_ns", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "time.weekday", + "decl": { + "args": [ + { + "of": [ + { + "type": "number" + }, + { + "static": [ + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "array" + } + ], + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "to_number", + "decl": { + "args": [ + { + "of": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ], + "type": "any" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "trace", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "trim", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_left", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_prefix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_right", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_space", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "trim_suffix", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "type_name", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "union", + "decl": { + "args": [ + { + "of": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "set" + } + ], + "result": { + "of": { + "type": "any" + }, + "type": "set" + }, + "type": "function" + } + }, + { + "name": "units.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "units.parse_bytes", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "upper", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.decode_object", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "dynamic": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "urlquery.encode_object", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "of": [ + { + "type": "string" + }, + { + "dynamic": { + "type": "string" + }, + "type": "array" + }, + { + "of": { + "type": "string" + }, + "type": "set" + } + ], + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, + { + "name": "uuid.rfc4122", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "string" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "walk", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "static": [ + { + "dynamic": { + "type": "any" + }, + "type": "array" + }, + { + "type": "any" + } + ], + "type": "array" + }, + "type": "function" + }, + "relation": true + }, + { + "name": "yaml.is_valid", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, + { + "name": "yaml.marshal", + "decl": { + "args": [ + { + "type": "any" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, + { + "name": "yaml.unmarshal", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "type": "any" + }, + "type": "function" + } + } + ], + "future_keywords": [ + "contains", + "every", + "if", + "in" + ], + "features": [ + "rule_head_ref_string_prefixes", + "rule_head_refs", + "rego_v1_import" + ] +} diff --git a/pkg/capabilities/embedded/eopa/v1.3.0.json b/internal/capabilities/embedded/eopa/v1.3.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.3.0.json rename to internal/capabilities/embedded/eopa/v1.3.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.4.0.json b/internal/capabilities/embedded/eopa/v1.4.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.4.0.json rename to internal/capabilities/embedded/eopa/v1.4.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.5.1.json b/internal/capabilities/embedded/eopa/v1.5.1.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.5.1.json rename to internal/capabilities/embedded/eopa/v1.5.1.json diff --git a/pkg/capabilities/embedded/eopa/v1.6.0.json b/internal/capabilities/embedded/eopa/v1.6.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.6.0.json rename to internal/capabilities/embedded/eopa/v1.6.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.7.0.json b/internal/capabilities/embedded/eopa/v1.7.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.7.0.json rename to internal/capabilities/embedded/eopa/v1.7.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.8.0.json b/internal/capabilities/embedded/eopa/v1.8.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.8.0.json rename to internal/capabilities/embedded/eopa/v1.8.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.9.0.json b/internal/capabilities/embedded/eopa/v1.9.0.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.9.0.json rename to internal/capabilities/embedded/eopa/v1.9.0.json diff --git a/pkg/capabilities/embedded/eopa/v1.9.2.json b/internal/capabilities/embedded/eopa/v1.9.2.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.9.2.json rename to internal/capabilities/embedded/eopa/v1.9.2.json diff --git a/pkg/capabilities/embedded/eopa/v1.9.3.json b/internal/capabilities/embedded/eopa/v1.9.3.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.9.3.json rename to internal/capabilities/embedded/eopa/v1.9.3.json diff --git a/pkg/capabilities/embedded/eopa/v1.9.4.json b/internal/capabilities/embedded/eopa/v1.9.4.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.9.4.json rename to internal/capabilities/embedded/eopa/v1.9.4.json diff --git a/pkg/capabilities/embedded/eopa/v1.9.5.json b/internal/capabilities/embedded/eopa/v1.9.5.json similarity index 100% rename from pkg/capabilities/embedded/eopa/v1.9.5.json rename to internal/capabilities/embedded/eopa/v1.9.5.json diff --git a/pkg/capabilities/testdata/capabilities.json b/internal/capabilities/testdata/capabilities.json similarity index 100% rename from pkg/capabilities/testdata/capabilities.json rename to internal/capabilities/testdata/capabilities.json diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 82ba74f0..2cfb69e2 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -22,6 +22,7 @@ import ( "github.com/open-policy-agent/opa/storage" "github.com/styrainc/regal/bundle" + "github.com/styrainc/regal/internal/capabilities" rio "github.com/styrainc/regal/internal/io" "github.com/styrainc/regal/internal/lsp/bundles" "github.com/styrainc/regal/internal/lsp/cache" @@ -39,7 +40,6 @@ import ( rparse "github.com/styrainc/regal/internal/parse" "github.com/styrainc/regal/internal/update" "github.com/styrainc/regal/internal/util" - "github.com/styrainc/regal/pkg/capabilities" "github.com/styrainc/regal/pkg/config" "github.com/styrainc/regal/pkg/fixer" "github.com/styrainc/regal/pkg/fixer/fileprovider" diff --git a/pkg/config/config.go b/pkg/config/config.go index 7cd8c550..919f5a03 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -12,8 +12,8 @@ import ( "github.com/open-policy-agent/opa/ast" + "github.com/styrainc/regal/internal/capabilities" rio "github.com/styrainc/regal/internal/io" - "github.com/styrainc/regal/pkg/capabilities" ) const ( From 95604b4b915db5baae0f5c1433d19796b85f4c05 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Mon, 26 Aug 2024 17:25:56 -0400 Subject: [PATCH 17/39] move docs into README --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index b3a5eca6..f37ead0b 100644 --- a/README.md +++ b/README.md @@ -365,6 +365,30 @@ reached. If no configuration file is found, Regal will use the default configura A custom configuration may be also be provided using the `--config-file`/`-c` option for `regal lint`, which when provided will be used to override the default configuration. + +### Loading Capabilities from URLs + + +Starting with Regal version TODO, Regal can load capabilities from URLs with the `file`, `http`, or `https` schemes using the `capabilities.from.url` config key. For example, to load capabilities from `https://example.org/capabilities.json`, this configuration could be used: + +```yaml +capabilities: + from: + url: https://example.org/capabilities.json +``` + + +### Supported Engines + + +Regal includes capabilities files for the following engines: + +| Engine | Website | Description | +|--------|---------|-------------| +| `opa` | https://www.openpolicyagent.org/ | Open Policy Agent | +| `eopa` | https://www.styra.com/enterprise-opa/ | Styra Enterprise OPA | + + ## Ignoring Rules If one of Regal's rules doesn't align with your team's preferences, don't worry! Regal is not meant to be the law, From 1358083f69fd291f290830524b2bb1f23d7fe2f7 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 17:48:38 -0400 Subject: [PATCH 18/39] add LSP test for new embedded EOPA caps --- internal/capabilities/capabilities.go | 2 + .../lsp/completions/providers/builtins.go | 15 ++ internal/lsp/rego/builtins.go | 4 + internal/lsp/server.go | 9 ++ internal/lsp/server_test.go | 140 +++++++++++++++++- 5 files changed, 168 insertions(+), 2 deletions(-) diff --git a/internal/capabilities/capabilities.go b/internal/capabilities/capabilities.go index b80d9ec4..8f830992 100644 --- a/internal/capabilities/capabilities.go +++ b/internal/capabilities/capabilities.go @@ -46,6 +46,8 @@ const ( // version for the specified engine. func Lookup(rawURL string) (*ast.Capabilities, error) { + fmt.Printf("EEE49 %s\n", rawURL) + parsedURL, err := url.Parse(rawURL) if err != nil { return nil, err diff --git a/internal/lsp/completions/providers/builtins.go b/internal/lsp/completions/providers/builtins.go index a16544ca..e28d638a 100644 --- a/internal/lsp/completions/providers/builtins.go +++ b/internal/lsp/completions/providers/builtins.go @@ -1,6 +1,7 @@ package providers import ( + "fmt" "strings" "github.com/styrainc/regal/internal/lsp/cache" @@ -19,18 +20,32 @@ func (*BuiltIns) Name() string { func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, opt *Options) ([]types.CompletionItem, error) { fileURI := params.TextDocument.URI + fmt.Printf("CCC22 %+v %+v\n", params, opt) + lines, currentLine := completionLineHelper(c, fileURI, params.Position.Line) + + for i, l := range lines { + fmt.Printf("CCC28 line %d: %s\n", i, l) + } + fmt.Printf("CCC29: current line: %s\n", currentLine) + if len(lines) < 1 || currentLine == "" { + fmt.Printf("CCC27\n") return []types.CompletionItem{}, nil } if !inRuleBody(currentLine) { + fmt.Printf("CCC32\n") return []types.CompletionItem{}, nil } + fmt.Printf("CCC34 currentLine %+v\n", currentLine) + words := patternWhiteSpace.Split(strings.TrimSpace(currentLine), -1) lastWord := words[len(words)-1] + fmt.Printf("CCC47 lastWord: %s\n", lastWord) + items := []types.CompletionItem{} bis := rego.GetBuiltins() diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index b0966805..2d427826 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -1,6 +1,7 @@ package rego import ( + "fmt" "strings" "sync" @@ -12,8 +13,11 @@ var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) // Update updates the builtins database with the provided capabilities. func UpdateBuiltins(caps *ast.Capabilities) { + fmt.Printf("DDD15 updating builtin caps\n") builtInsLock.Lock() builtIns = builtinMap(caps) + _, ok := builtIns["neo4j.query"] + fmt.Printf("DDD20 neo4j.query in builtins?: %v\n", ok) builtInsLock.Unlock() } diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 2cfb69e2..06553b55 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -1167,11 +1167,14 @@ func (l *LanguageServer) handleTextDocumentCompletion( _ *jsonrpc2.Conn, req *jsonrpc2.Request, ) (any, error) { + fmt.Printf("BBB1168\n") var params types.CompletionParams if err := encoding.JSON().Unmarshal(*req.Params, ¶ms); err != nil { return nil, fmt.Errorf("failed to unmarshal params: %w", err) } + fmt.Printf("BBB1172\n") + // when config ignores a file, then we return an empty completion list // as a no-op. if l.ignoreURI(params.TextDocument.URI) { @@ -1181,6 +1184,8 @@ func (l *LanguageServer) handleTextDocumentCompletion( }, nil } + fmt.Printf("BBB1185\n") + // items is allocated here so that the return value is always a non-nil CompletionList items, err := l.completionsManager.Run(params, &providers.Options{ ClientIdentifier: l.clientIdentifier, @@ -1190,6 +1195,10 @@ func (l *LanguageServer) handleTextDocumentCompletion( return nil, fmt.Errorf("failed to find completions: %w", err) } + for _, i := range items { + fmt.Printf("BBB1197 %+v & %+v\n\n", i, i.TextEdit) + } + // make sure the items is always [] instead of null as is required by the spec if items == nil { return types.CompletionList{ diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index adcab3e2..8f4b0c5c 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -25,7 +25,8 @@ const mainRegoFileName = "/main.rego" // defaultTimeout is set based on the investigation done as part of // https://github.com/StyraInc/regal/issues/931. 20 seconds is 10x the // maximum time observed for an operation to complete. -const defaultTimeout = 20 * time.Second +// const defaultTimeout = 20 * time.Second +const defaultTimeout = 5 * time.Second const defaultBufferedChannelSize = 5 @@ -53,7 +54,7 @@ func (*InMemoryReadWriteCloser) Close() error { const fileURIScheme = "file://" // TestLanguageServerSingleFile tests that changes to a single file and Regal config are handled correctly by the -// language server my making updates to both and validating that the correct diagnostics are sent to the client. +// language server by making updates to both and validating that the correct diagnostics are sent to the client. // //nolint:gocyclo,maintidx func TestLanguageServerSingleFile(t *testing.T) { @@ -107,6 +108,9 @@ rules: if req.Method == methodTextDocumentPublishDiagnostics { var requestData types.FileDiagnostics + fmt.Printf("XXX req %+v\n", req) + fmt.Printf("YYY params%+v\n", string(*req.Params)) + err = encoding.JSON().Unmarshal(*req.Params, &requestData) if err != nil { t.Fatalf("failed to unmarshal diagnostics: %s", err) @@ -275,6 +279,138 @@ rules: break } } + + // 5. Client sends new config with an EOPA capabilities file specified. + newConfigContents = ` +rules: + style: + opa-fmt: + level: ignore +capabilities: + from: + engine: eopa + version: v1.23.0 +` + + err = os.WriteFile(filepath.Join(tempDir, ".regal/config.yaml"), []byte(newConfigContents), 0o600) + if err != nil { + t.Fatalf("failed to write new config file: %s", err) + } + + // validate that the client received a new, empty diagnostics notification for the file + timeout = time.NewTimer(defaultTimeout) + defer timeout.Stop() + + for { + var success bool + select { + case requestData := <-receivedMessages: + if requestData.URI != mainRegoURI { + t.Logf("expected diagnostics to be sent for main.rego, got %s", requestData.URI) + + break + } + + if len(requestData.Items) != 0 { + t.Logf("expected 0 diagnostic, got %d", len(requestData.Items)) + + break + } + + success = testRequestDataCodes(t, requestData, mainRegoURI, []string{}) + case <-timeout.C: + t.Fatalf("timed out waiting for file diagnostics to be sent") + } + + if success { + break + } + } + + // 6. Client sends textDocument/didChange notification with new + // contents for main.rego no response to the call is expected. We added + // the start of an EOPA-specific call, so if the capabilities were + // loaded correctly, we should see a completion later after we ask for + // it. + err = connClient.Call(ctx, "textDocument/didChange", types.TextDocumentDidChangeParams{ + TextDocument: types.TextDocumentIdentifier{ + URI: mainRegoURI, + }, + ContentChanges: []types.TextDocumentContentChangeEvent{ + { + Text: `package main +import rego.v1 +allow := neo4j.q +`, + }, + }, + }, nil) + if err != nil { + t.Fatalf("failed to send didChange notification: %s", err) + } + + // validate that the client received a new diagnostics notification for the file + timeout = time.NewTimer(defaultTimeout) + defer timeout.Stop() + + for { + var success bool + select { + case requestData := <-receivedMessages: + + if requestData.URI != mainRegoURI { + t.Logf("expected diagnostics to be sent for main.rego, got %s", requestData.URI) + + break + } + + if len(requestData.Items) != 0 { + t.Logf("expected 0 diagnostic, got %d", len(requestData.Items)) + + break + } + + success = testRequestDataCodes(t, requestData, mainRegoURI, []string{}) + case <-timeout.C: + t.Fatalf("timed out waiting for file diagnostics to be sent") + } + + if success { + break + } + } + + // 7. With our new config applied, and the file updated, we can ask the + // LSP for a completion. We expect to see neo4j.query show up. Since + // neo4j.query is an EOPA-specific builtin, it should never appear if + // we're using the normal OPA capabilities file. + resp := make(map[string]any) + err = connClient.Call(ctx, "textDocument/completion", types.CompletionParams{ + TextDocument: types.TextDocumentIdentifier{ + URI: mainRegoURI, + }, + Position: types.Position{ + Line: 2, + Character: 16, + }, + }, &resp) + if err != nil { + t.Fatalf("failed to send completion notification: %s", err) + } + + foundNeo4j := false + for _, itemI := range resp["items"].([]any) { + item := itemI.(map[string]any) + t.Logf("completion label: %s", item["label"]) + if item["label"] == "neo4j.query" { + foundNeo4j = true + } + } + + if !foundNeo4j { + t.Errorf("expected neo4j.query in completion results for neo4j.q") + } + } // TestLanguageServerMultipleFiles tests that changes to multiple files are handled correctly. When there are multiple From aaa18e786d1f581ade3c2f0916fc5b22e2d1ea31 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 17:50:21 -0400 Subject: [PATCH 19/39] remove debug statements --- internal/lsp/completions/providers/builtins.go | 14 -------------- internal/lsp/rego/builtins.go | 3 --- internal/lsp/server.go | 9 --------- internal/lsp/server_test.go | 6 +++--- 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/internal/lsp/completions/providers/builtins.go b/internal/lsp/completions/providers/builtins.go index e28d638a..60561879 100644 --- a/internal/lsp/completions/providers/builtins.go +++ b/internal/lsp/completions/providers/builtins.go @@ -1,7 +1,6 @@ package providers import ( - "fmt" "strings" "github.com/styrainc/regal/internal/lsp/cache" @@ -20,32 +19,19 @@ func (*BuiltIns) Name() string { func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, opt *Options) ([]types.CompletionItem, error) { fileURI := params.TextDocument.URI - fmt.Printf("CCC22 %+v %+v\n", params, opt) - lines, currentLine := completionLineHelper(c, fileURI, params.Position.Line) - for i, l := range lines { - fmt.Printf("CCC28 line %d: %s\n", i, l) - } - fmt.Printf("CCC29: current line: %s\n", currentLine) - if len(lines) < 1 || currentLine == "" { - fmt.Printf("CCC27\n") return []types.CompletionItem{}, nil } if !inRuleBody(currentLine) { - fmt.Printf("CCC32\n") return []types.CompletionItem{}, nil } - fmt.Printf("CCC34 currentLine %+v\n", currentLine) - words := patternWhiteSpace.Split(strings.TrimSpace(currentLine), -1) lastWord := words[len(words)-1] - fmt.Printf("CCC47 lastWord: %s\n", lastWord) - items := []types.CompletionItem{} bis := rego.GetBuiltins() diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index 2d427826..d62b4fb6 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -1,7 +1,6 @@ package rego import ( - "fmt" "strings" "sync" @@ -13,11 +12,9 @@ var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) // Update updates the builtins database with the provided capabilities. func UpdateBuiltins(caps *ast.Capabilities) { - fmt.Printf("DDD15 updating builtin caps\n") builtInsLock.Lock() builtIns = builtinMap(caps) _, ok := builtIns["neo4j.query"] - fmt.Printf("DDD20 neo4j.query in builtins?: %v\n", ok) builtInsLock.Unlock() } diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 06553b55..2cfb69e2 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -1167,14 +1167,11 @@ func (l *LanguageServer) handleTextDocumentCompletion( _ *jsonrpc2.Conn, req *jsonrpc2.Request, ) (any, error) { - fmt.Printf("BBB1168\n") var params types.CompletionParams if err := encoding.JSON().Unmarshal(*req.Params, ¶ms); err != nil { return nil, fmt.Errorf("failed to unmarshal params: %w", err) } - fmt.Printf("BBB1172\n") - // when config ignores a file, then we return an empty completion list // as a no-op. if l.ignoreURI(params.TextDocument.URI) { @@ -1184,8 +1181,6 @@ func (l *LanguageServer) handleTextDocumentCompletion( }, nil } - fmt.Printf("BBB1185\n") - // items is allocated here so that the return value is always a non-nil CompletionList items, err := l.completionsManager.Run(params, &providers.Options{ ClientIdentifier: l.clientIdentifier, @@ -1195,10 +1190,6 @@ func (l *LanguageServer) handleTextDocumentCompletion( return nil, fmt.Errorf("failed to find completions: %w", err) } - for _, i := range items { - fmt.Printf("BBB1197 %+v & %+v\n\n", i, i.TextEdit) - } - // make sure the items is always [] instead of null as is required by the spec if items == nil { return types.CompletionList{ diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 8f4b0c5c..690d5d6f 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -56,6 +56,9 @@ const fileURIScheme = "file://" // TestLanguageServerSingleFile tests that changes to a single file and Regal config are handled correctly by the // language server by making updates to both and validating that the correct diagnostics are sent to the client. // +// This test also ensures that updating the config to point to a non-default engine and capabilities version works +// and causes that engine's builtins to work with completions. +// //nolint:gocyclo,maintidx func TestLanguageServerSingleFile(t *testing.T) { t.Parallel() @@ -108,9 +111,6 @@ rules: if req.Method == methodTextDocumentPublishDiagnostics { var requestData types.FileDiagnostics - fmt.Printf("XXX req %+v\n", req) - fmt.Printf("YYY params%+v\n", string(*req.Params)) - err = encoding.JSON().Unmarshal(*req.Params, &requestData) if err != nil { t.Fatalf("failed to unmarshal diagnostics: %s", err) From 19fbb996de2c9a33bc7934bc682307ba4b5cb9b1 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 17:53:59 -0400 Subject: [PATCH 20/39] drop pre-1.0.0 eopa tags --- build/do.rq | 14 +- internal/capabilities/capabilities.go | 2 - .../capabilities/embedded/eopa/v0.100.8.json | 4466 ---------------- .../capabilities/embedded/eopa/v0.101.0.json | 4598 ----------------- .../capabilities/embedded/eopa/v0.101.1.json | 4598 ----------------- .../capabilities/embedded/eopa/v0.102.0.json | 4598 ----------------- .../capabilities/embedded/eopa/v0.102.2.json | 4598 ----------------- .../capabilities/embedded/eopa/v0.102.3.json | 4598 ----------------- .../capabilities/embedded/eopa/v0.102.4.json | 4598 ----------------- .../capabilities/embedded/eopa/v0.102.5.json | 4598 ----------------- .../eopa/{v0.102.1.json => v1.24.8.json} | 534 +- 11 files changed, 530 insertions(+), 36672 deletions(-) delete mode 100644 internal/capabilities/embedded/eopa/v0.100.8.json delete mode 100644 internal/capabilities/embedded/eopa/v0.101.0.json delete mode 100644 internal/capabilities/embedded/eopa/v0.101.1.json delete mode 100644 internal/capabilities/embedded/eopa/v0.102.0.json delete mode 100644 internal/capabilities/embedded/eopa/v0.102.2.json delete mode 100644 internal/capabilities/embedded/eopa/v0.102.3.json delete mode 100644 internal/capabilities/embedded/eopa/v0.102.4.json delete mode 100644 internal/capabilities/embedded/eopa/v0.102.5.json rename internal/capabilities/embedded/eopa/{v0.102.1.json => v1.24.8.json} (89%) diff --git a/build/do.rq b/build/do.rq index f518280a..24fa0f36 100755 --- a/build/do.rq +++ b/build/do.rq @@ -244,19 +244,17 @@ fetch_eopa_caps { # we eliminate them from consideration. known_bad_tags := { - "v0.100.5", # tag missing capabilities file - "v0.100.6", # tag missing capabilities file - "v0.100.7", # tag missing capabilities file - "v0.49.0-5", # tag missing capabilities file - "v0.49.0-6", # tag missing capabilities file - "v0.49.0-7", # tag missing capabilities file - "v0.49.0-8", # tag missing capabilities file "v1.15.0", # tag missing capabilities file (misnamed v0.15.0) "v1.4.1", # tag missing capabilities file "v1.5.0", # tag missing capabilities file } - eopa_tags := {t | r := eopa_tags_result.stdout[_]; t := r[2] ; not known_bad_tags[t]} + # Note that we use the `not startswith` to explicitly drop any + # pre-1.0.0 tags. There is little reason anyone would want them, and if + # they really have a need, they can manually download them and use the + # file locally. + + eopa_tags := {t | r := eopa_tags_result.stdout[_]; t := r[2] ; not known_bad_tags[t] ; not startswith(t, "v0.")} # Get a directory listing for the capabilities directory, filtering for # only nonzero size files with JSON extensions. The size check is to diff --git a/internal/capabilities/capabilities.go b/internal/capabilities/capabilities.go index 8f830992..b80d9ec4 100644 --- a/internal/capabilities/capabilities.go +++ b/internal/capabilities/capabilities.go @@ -46,8 +46,6 @@ const ( // version for the specified engine. func Lookup(rawURL string) (*ast.Capabilities, error) { - fmt.Printf("EEE49 %s\n", rawURL) - parsedURL, err := url.Parse(rawURL) if err != nil { return nil, err diff --git a/internal/capabilities/embedded/eopa/v0.100.8.json b/internal/capabilities/embedded/eopa/v0.100.8.json deleted file mode 100644 index 9c012de7..00000000 --- a/internal/capabilities/embedded/eopa/v0.100.8.json +++ /dev/null @@ -1,4466 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.101.0.json b/internal/capabilities/embedded/eopa/v0.101.0.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.101.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.101.1.json b/internal/capabilities/embedded/eopa/v0.101.1.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.101.1.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.102.0.json b/internal/capabilities/embedded/eopa/v0.102.0.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.102.0.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.102.2.json b/internal/capabilities/embedded/eopa/v0.102.2.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.102.2.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.102.3.json b/internal/capabilities/embedded/eopa/v0.102.3.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.102.3.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.102.4.json b/internal/capabilities/embedded/eopa/v0.102.4.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.102.4.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.102.5.json b/internal/capabilities/embedded/eopa/v0.102.5.json deleted file mode 100644 index 8848e027..00000000 --- a/internal/capabilities/embedded/eopa/v0.102.5.json +++ /dev/null @@ -1,4598 +0,0 @@ -{ - "builtins": [ - { - "name": "abs", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "all", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "and", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "\u0026" - }, - { - "name": "any", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "array.concat", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.reverse", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "array.slice", - "decl": { - "args": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "assign", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": ":=" - }, - { - "name": "base64.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "base64url.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "base64url.encode_no_pad", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "bits.and", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.lsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.negate", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.or", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.rsh", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "bits.xor", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "cast_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "cast_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "cast_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "null" - }, - "type": "function" - } - }, - { - "name": "cast_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "cast_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "cast_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "ceil", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "concat", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "count", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.md5", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha1", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.hmac.sha512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.md5", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha1", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.sha256", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_and_verify_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificate_request", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_certificates", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "crypto.x509.parse_rsa_private_key", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "div", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "/" - }, - { - "name": "endswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "eq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "=" - }, - { - "name": "equal", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "==" - }, - { - "name": "floor", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "format_int", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "glob.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "of": [ - { - "type": "null" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - } - ], - "type": "any" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "glob.quote_meta", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "graph.reachable", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graph.reachable_paths", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "graphql.is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "graphql.parse", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_and_verify", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_query", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.parse_schema", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "graphql.schema_is_valid", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "gt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e" - }, - { - "name": "gte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003e=" - }, - { - "name": "hex.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "hex.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "http.send", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "indexof", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "indexof_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "internal.member_2", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.member_3", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "in" - }, - { - "name": "internal.print", - "decl": { - "args": [ - { - "dynamic": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "array" - } - ], - "type": "function" - } - }, - { - "name": "intersection", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "static": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "io.jwt.decode_verify", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.encode_sign_raw", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "io.jwt.verify_es256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_es512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_hs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_ps512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs256", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs384", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "io.jwt.verify_rs512", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_array", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_boolean", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_null", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_number", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_object", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_set", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "is_string", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "json.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "json.match_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "dynamic": { - "static": [ - { - "key": "desc", - "value": { - "type": "string" - } - }, - { - "key": "error", - "value": { - "type": "string" - } - }, - { - "key": "field", - "value": { - "type": "string" - } - }, - { - "key": "type", - "value": { - "type": "string" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "json.patch", - "decl": { - "args": [ - { - "type": "any" - }, - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "static": [ - { - "key": "op", - "value": { - "type": "string" - } - }, - { - "key": "path", - "value": { - "type": "any" - } - } - ], - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "json.verify_schema", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "boolean" - }, - { - "of": [ - { - "type": "null" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "lower", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "lt", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c" - }, - { - "name": "lte", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "\u003c=" - }, - { - "name": "max", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "min", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "minus", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": [ - { - "type": "number" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - "type": "function" - }, - "infix": "-" - }, - { - "name": "mul", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "*" - }, - { - "name": "neq", - "decl": { - "args": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - }, - "infix": "!=" - }, - { - "name": "net.cidr_contains", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_contains_matches", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "static": [ - { - "type": "any" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_expand", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_intersects", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.cidr_merge", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "of": [ - { - "type": "string" - } - ], - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "net.cidr_overlap", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "net.lookup_ip_addr", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "of": { - "type": "string" - }, - "type": "set" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "numbers.range", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "object.filter", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.get", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "any" - }, - { - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.keys", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "object.remove", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.subset", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "object.union_n", - "decl": { - "args": [ - { - "dynamic": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "array" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "opa.runtime", - "decl": { - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "or", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - }, - "infix": "|" - }, - { - "name": "plus", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "+" - }, - { - "name": "print", - "decl": { - "type": "function", - "variadic": { - "type": "any" - } - } - }, - { - "name": "product", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "providers.aws.sign_req", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "key": { - "type": "any" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rand.intn", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "re_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.find_all_string_submatch_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.find_n", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "number" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.globs_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "regex.replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "regex.split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "regex.template_match", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.chain", - "decl": { - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "rego.metadata.rule", - "decl": { - "result": { - "type": "any" - }, - "type": "function" - } - }, - { - "name": "rego.parse_module", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "any" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "rem", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - }, - "infix": "%" - }, - { - "name": "replace", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "round", - "decl": { - "args": [ - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.compare", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "semver.is_valid", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "set_diff", - "decl": { - "args": [ - { - "of": { - "type": "any" - }, - "type": "set" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "sort", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "of": { - "type": "any" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "split", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - "type": "function" - } - }, - { - "name": "sprintf", - "decl": { - "args": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "any" - }, - "type": "array" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "startswith", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_prefix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.any_suffix_match", - "decl": { - "args": [ - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "strings.replace_n", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "strings.reverse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "substring", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "sum", - "decl": { - "args": [ - { - "of": [ - { - "dynamic": { - "type": "number" - }, - "type": "array" - }, - { - "of": { - "type": "number" - }, - "type": "set" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.add_date", - "decl": { - "args": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.clock", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.date", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.diff", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - }, - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "static": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "type": "function" - } - }, - { - "name": "time.format", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "time.now_ns", - "decl": { - "result": { - "type": "number" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "time.parse_duration_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_ns", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.parse_rfc3339_ns", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "time.weekday", - "decl": { - "args": [ - { - "of": [ - { - "type": "number" - }, - { - "static": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "array" - } - ], - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "to_number", - "decl": { - "args": [ - { - "of": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "type": "any" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "trace", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "trim", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_left", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_prefix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_right", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_space", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "trim_suffix", - "decl": { - "args": [ - { - "type": "string" - }, - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "type_name", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "union", - "decl": { - "args": [ - { - "of": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "set" - } - ], - "result": { - "of": { - "type": "any" - }, - "type": "set" - }, - "type": "function" - } - }, - { - "name": "units.parse", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "units.parse_bytes", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "number" - }, - "type": "function" - } - }, - { - "name": "upper", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.decode_object", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "dynamic": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "urlquery.encode_object", - "decl": { - "args": [ - { - "dynamic": { - "key": { - "type": "string" - }, - "value": { - "of": [ - { - "type": "string" - }, - { - "dynamic": { - "type": "string" - }, - "type": "array" - }, - { - "of": { - "type": "string" - }, - "type": "set" - } - ], - "type": "any" - } - }, - "type": "object" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "uuid.rfc4122", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "string" - }, - "type": "function" - }, - "nondeterministic": true - }, - { - "name": "walk", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "static": [ - { - "dynamic": { - "type": "any" - }, - "type": "array" - }, - { - "type": "any" - } - ], - "type": "array" - }, - "type": "function" - }, - "relation": true - }, - { - "name": "yaml.is_valid", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "boolean" - }, - "type": "function" - } - }, - { - "name": "yaml.marshal", - "decl": { - "args": [ - { - "type": "any" - } - ], - "result": { - "type": "string" - }, - "type": "function" - } - }, - { - "name": "yaml.unmarshal", - "decl": { - "args": [ - { - "type": "string" - } - ], - "result": { - "type": "any" - }, - "type": "function" - } - } - ], - "future_keywords": [ - "contains", - "every", - "if", - "in" - ], - "wasm_abi_versions": null, - "features": [ - "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" - ] -} diff --git a/internal/capabilities/embedded/eopa/v0.102.1.json b/internal/capabilities/embedded/eopa/v1.24.8.json similarity index 89% rename from internal/capabilities/embedded/eopa/v0.102.1.json rename to internal/capabilities/embedded/eopa/v1.24.8.json index 8848e027..bc473ed8 100644 --- a/internal/capabilities/embedded/eopa/v0.102.1.json +++ b/internal/capabilities/embedded/eopa/v1.24.8.json @@ -572,6 +572,23 @@ "type": "function" } }, + { + "name": "crypto.hmac.equal", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "boolean" + }, + "type": "function" + } + }, { "name": "crypto.hmac.md5", "decl": { @@ -654,6 +671,31 @@ "type": "function" } }, + { + "name": "crypto.parse_private_keys", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "function" + } + }, { "name": "crypto.sha1", "decl": { @@ -715,6 +757,50 @@ "type": "function" } }, + { + "name": "crypto.x509.parse_and_verify_certificates_with_options", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "static": [ + { + "type": "boolean" + }, + { + "dynamic": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "array" + } + ], + "type": "array" + }, + "type": "function" + } + }, { "name": "crypto.x509.parse_certificate_request", "decl": { @@ -762,6 +848,31 @@ "type": "function" } }, + { + "name": "crypto.x509.parse_keypair", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, { "name": "crypto.x509.parse_rsa_private_key", "decl": { @@ -802,6 +913,68 @@ }, "infix": "/" }, + { + "name": "dynamodb.get", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "dynamodb.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "endswith", "decl": { @@ -2080,6 +2253,51 @@ "type": "function" } }, + { + "name": "json.marshal_with_options", + "decl": { + "args": [ + { + "type": "any" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "static": [ + { + "key": "indent", + "value": { + "type": "string" + } + }, + { + "key": "prefix", + "value": { + "type": "string" + } + }, + { + "key": "pretty", + "value": { + "type": "boolean" + } + } + ], + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, { "name": "json.match_schema", "decl": { @@ -2486,6 +2704,68 @@ }, "infix": "-" }, + { + "name": "mongodb.find", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, + { + "name": "mongodb.find_one", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "mul", "decl": { @@ -2504,6 +2784,37 @@ }, "infix": "*" }, + { + "name": "neo4j.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "neq", "decl": { @@ -2828,6 +3139,29 @@ "type": "function" } }, + { + "name": "numbers.range_step", + "decl": { + "args": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "result": { + "dynamic": { + "type": "number" + }, + "type": "array" + }, + "type": "function" + } + }, { "name": "object.filter", "decl": { @@ -3285,6 +3619,37 @@ "type": "function" } }, + { + "name": "redis.query", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "regex.find_all_string_submatch_n", "decl": { @@ -3445,6 +3810,37 @@ "type": "function" } }, + { + "name": "rego.eval", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "rego.metadata.chain", "decl": { @@ -3671,6 +4067,37 @@ "type": "function" } }, + { + "name": "sql.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "startswith", "decl": { @@ -3790,6 +4217,48 @@ "type": "function" } }, + { + "name": "strings.count", + "decl": { + "args": [ + { + "type": "string" + }, + { + "type": "string" + } + ], + "result": { + "type": "number" + }, + "type": "function" + } + }, + { + "name": "strings.render_template", + "decl": { + "args": [ + { + "type": "string" + }, + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "type": "string" + }, + "type": "function" + } + }, { "name": "strings.replace_n", "decl": { @@ -4492,6 +4961,28 @@ "type": "function" } }, + { + "name": "uuid.parse", + "decl": { + "args": [ + { + "type": "string" + } + ], + "result": { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + } + }, { "name": "uuid.rfc4122", "decl": { @@ -4507,6 +4998,37 @@ }, "nondeterministic": true }, + { + "name": "vault.send", + "decl": { + "args": [ + { + "dynamic": { + "key": { + "type": "string" + }, + "value": { + "type": "any" + } + }, + "type": "object" + } + ], + "result": { + "dynamic": { + "key": { + "type": "any" + }, + "value": { + "type": "any" + } + }, + "type": "object" + }, + "type": "function" + }, + "nondeterministic": true + }, { "name": "walk", "decl": { @@ -4582,17 +5104,9 @@ "if", "in" ], - "wasm_abi_versions": null, "features": [ "rule_head_ref_string_prefixes", - "bjson_bundle", - "grpc_service", - "kafka_data_plugin", - "git_data_plugin", - "ldap_data_plugin", - "s3_data_plugin", - "okta_data_plugin", - "http_data_plugin", - "lia_plugin" + "rule_head_refs", + "rego_v1_import" ] } From 0cd5e4f2bc9d08e532dc95db4368c32dbb3d7bd6 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 17:55:55 -0400 Subject: [PATCH 21/39] fix lint errors --- README.md | 14 ++++++-------- internal/lsp/rego/builtins.go | 1 - 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f37ead0b..94860716 100644 --- a/README.md +++ b/README.md @@ -365,11 +365,12 @@ reached. If no configuration file is found, Regal will use the default configura A custom configuration may be also be provided using the `--config-file`/`-c` option for `regal lint`, which when provided will be used to override the default configuration. - ### Loading Capabilities from URLs - -Starting with Regal version TODO, Regal can load capabilities from URLs with the `file`, `http`, or `https` schemes using the `capabilities.from.url` config key. For example, to load capabilities from `https://example.org/capabilities.json`, this configuration could be used: +Starting with Regal version TODO, Regal can load capabilities from URLs with +the `file`, `http`, or `https` schemes using the `capabilities.from.url` config +key. For example, to load capabilities from +`https://example.org/capabilities.json`, this configuration could be used: ```yaml capabilities: @@ -377,17 +378,14 @@ capabilities: url: https://example.org/capabilities.json ``` - ### Supported Engines - Regal includes capabilities files for the following engines: | Engine | Website | Description | |--------|---------|-------------| -| `opa` | https://www.openpolicyagent.org/ | Open Policy Agent | -| `eopa` | https://www.styra.com/enterprise-opa/ | Styra Enterprise OPA | - +| `opa` | [OPA website](https://www.openpolicyagent.org/) | Open Policy Agent | +| `eopa` | [Enterprise OPA website](https://www.styra.com/enterprise-opa/) | Styra Enterprise OPA | ## Ignoring Rules diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index d62b4fb6..b0966805 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -14,7 +14,6 @@ var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) func UpdateBuiltins(caps *ast.Capabilities) { builtInsLock.Lock() builtIns = builtinMap(caps) - _, ok := builtIns["neo4j.query"] builtInsLock.Unlock() } From e94e99c101d2292ee7529241ad70e8c1b6e1a78e Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 17:57:36 -0400 Subject: [PATCH 22/39] fix typo in do.rq --- build/do.rq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/do.rq b/build/do.rq index 24fa0f36..c83000fb 100755 --- a/build/do.rq +++ b/build/do.rq @@ -289,7 +289,7 @@ fetch_eopa_caps { {"local": m.local, "content": c} | m := missing_locally[_] - print(sprintf("\tfetcing %s", [m.remote])) + print("\tfetching ", m.remote) resp := http.send({"url": m.remote, "method": "GET"}) { rq.error(sprintf("non-200 status code '%d' for URL '%s'", [resp.status_code, m.remote])) | resp.status_code != 200 } From 1098d1211d926fa64eef05e33be8b347fab02f91 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 18:00:02 -0400 Subject: [PATCH 23/39] improve rq.write comprehension Moving the rq.write() to the LHS of the | seems more intuitive, and it avoids the possibility that OPA may one day optimize comprehensions with constants on the LHS. --- build/do.rq | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/do.rq b/build/do.rq index c83000fb..f0561c29 100755 --- a/build/do.rq +++ b/build/do.rq @@ -302,10 +302,9 @@ fetch_eopa_caps { # Commit the retrieved content to disk. { - true + rq.write(cap.content, {"format": "raw", "file_path": cap.local}) | cap := new_caps[_] - rq.write(cap.content, {"format": "raw", "file_path": cap.local}) } } From 3713d41a0d80eb113d9158c0ca55b91fd8f6671b Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 18:03:20 -0400 Subject: [PATCH 24/39] fix incorrect test --- internal/capabilities/embedded/embedded_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/capabilities/embedded/embedded_test.go b/internal/capabilities/embedded/embedded_test.go index f2e990fc..5ce0c33b 100644 --- a/internal/capabilities/embedded/embedded_test.go +++ b/internal/capabilities/embedded/embedded_test.go @@ -3,8 +3,8 @@ package embedded import "testing" func TestEmbeddedEOPA(t *testing.T) { - // As of 2024-08-23, there are 57 capabilities files in the EOPA repo. - // It follows that there should never be less than 54 valid + // As of 2024-08-27, there are 47 capabilities files in the EOPA repo. + // It follows that there should never be less than 47 valid // capabilities in the embedded database. This is really just a sanity // check to ensure the JSON files didn't get misplaced or something to // that effect. @@ -17,8 +17,8 @@ func TestEmbeddedEOPA(t *testing.T) { t.Fatal(err) } - if len(versions) < 54 { - t.Errorf("Expected at least 54 EOPA capabilities in the embedded database") + if len(versions) < 47 { + t.Errorf("Expected at least 47 EOPA capabilities in the embedded database (got %d)", len(versions)) } for _, v := range versions { From 8689de7752134ccc659872b35eeff2eaf68235e0 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 18:27:16 -0400 Subject: [PATCH 25/39] apply golangci fixes --- internal/capabilities/capabilities.go | 7 ++----- internal/capabilities/embedded/embedded.go | 3 +-- internal/capabilities/embedded/embedded_test.go | 2 -- internal/lsp/rego/builtins.go | 6 ++++-- internal/lsp/server_test.go | 4 +--- 5 files changed, 8 insertions(+), 14 deletions(-) diff --git a/internal/capabilities/capabilities.go b/internal/capabilities/capabilities.go index b80d9ec4..3b37a7c7 100644 --- a/internal/capabilities/capabilities.go +++ b/internal/capabilities/capabilities.go @@ -12,10 +12,10 @@ import ( "sort" "strings" - "github.com/open-policy-agent/opa/ast" - "github.com/coreos/go-semver/semver" + "github.com/open-policy-agent/opa/ast" + embedded "github.com/styrainc/regal/internal/capabilities/embedded" ) @@ -45,7 +45,6 @@ const ( // 'regal://capabilities/{engine}/{version}' loads the requested capabilities // version for the specified engine. func Lookup(rawURL string) (*ast.Capabilities, error) { - parsedURL, err := url.Parse(rawURL) if err != nil { return nil, err @@ -72,7 +71,6 @@ func LookupURL(parsedURL *url.URL) (*ast.Capabilities, error) { } func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { - // We need to consider the individual path elements of the URL. It // would arguably be more elegant to do this with regex and named // capture groups, but I trust the stdlib URL and path splitting @@ -222,7 +220,6 @@ func semverSort(stringVersions []string) { // If neither string is valid semver, fall back to normal // string comparison. return iStr < jStr - }) // This sort sorts ascending, but we want descending. I can't figure diff --git a/internal/capabilities/embedded/embedded.go b/internal/capabilities/embedded/embedded.go index 9c8d631e..038afada 100644 --- a/internal/capabilities/embedded/embedded.go +++ b/internal/capabilities/embedded/embedded.go @@ -48,12 +48,11 @@ func LoadCapabilitiesVersion(engine, version string) (*ast.Capabilities, error) return ast.LoadCapabilitiesJSON(bytes.NewReader(cont)) } - } return nil, fmt.Errorf("(Regal embedded %s capabilities library) no capabilities version found %v", engine, version) } -// LoadCapabilitiesVersions loads all capabilities versions +// LoadCapabilitiesVersions loads all capabilities versions. func LoadCapabilitiesVersions(engine string) ([]string, error) { ents, err := FS.ReadDir(engine) if err != nil { diff --git a/internal/capabilities/embedded/embedded_test.go b/internal/capabilities/embedded/embedded_test.go index 5ce0c33b..fbddfc6e 100644 --- a/internal/capabilities/embedded/embedded_test.go +++ b/internal/capabilities/embedded/embedded_test.go @@ -23,7 +23,6 @@ func TestEmbeddedEOPA(t *testing.T) { for _, v := range versions { caps, err := LoadCapabilitiesVersion("eopa", v) - if err != nil { t.Errorf("error with eopa capabilities version %s: %v", v, err) } @@ -32,5 +31,4 @@ func TestEmbeddedEOPA(t *testing.T) { t.Errorf("eopa capabilities version %s has no builtins", v) } } - } diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index b0966805..da0968af 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -7,8 +7,10 @@ import ( "github.com/open-policy-agent/opa/ast" ) -var builtInsLock = &sync.RWMutex{} -var builtIns = builtinMap(ast.CapabilitiesForThisVersion()) +var ( + builtInsLock = &sync.RWMutex{} + builtIns = builtinMap(ast.CapabilitiesForThisVersion()) +) // Update updates the builtins database with the provided capabilities. func UpdateBuiltins(caps *ast.Capabilities) { diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 690d5d6f..2c124b7d 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -25,8 +25,7 @@ const mainRegoFileName = "/main.rego" // defaultTimeout is set based on the investigation done as part of // https://github.com/StyraInc/regal/issues/931. 20 seconds is 10x the // maximum time observed for an operation to complete. -// const defaultTimeout = 20 * time.Second -const defaultTimeout = 5 * time.Second +const defaultTimeout = 20 * time.Second const defaultBufferedChannelSize = 5 @@ -410,7 +409,6 @@ allow := neo4j.q if !foundNeo4j { t.Errorf("expected neo4j.query in completion results for neo4j.q") } - } // TestLanguageServerMultipleFiles tests that changes to multiple files are handled correctly. When there are multiple From 35a1e749bf743076f6ec1c7188e0742a42e79d0e Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Tue, 27 Aug 2024 19:02:40 -0400 Subject: [PATCH 26/39] fix some linter issues --- go.mod | 1 - go.sum | 4 - internal/capabilities/capabilities.go | 74 +++++++++++++++---- internal/capabilities/capabilities_test.go | 11 ++- internal/capabilities/embedded/embedded.go | 2 + .../lsp/completions/providers/builtins.go | 2 +- internal/lsp/rego/builtins.go | 5 +- internal/lsp/server.go | 2 +- internal/lsp/server_test.go | 5 +- pkg/config/config.go | 6 +- 10 files changed, 84 insertions(+), 28 deletions(-) diff --git a/go.mod b/go.mod index 76e1c56a..4c19e1c2 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,6 @@ require ( github.com/sourcegraph/jsonrpc2 v0.2.0 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index 948dd564..1a6106a4 100644 --- a/go.sum +++ b/go.sum @@ -214,10 +214,6 @@ go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= diff --git a/internal/capabilities/capabilities.go b/internal/capabilities/capabilities.go index 3b37a7c7..5e10cfb4 100644 --- a/internal/capabilities/capabilities.go +++ b/internal/capabilities/capabilities.go @@ -47,7 +47,7 @@ const ( func Lookup(rawURL string) (*ast.Capabilities, error) { parsedURL, err := url.Parse(rawURL) if err != nil { - return nil, err + return nil, fmt.Errorf("failed to parse URL '%s': %w", rawURL, err) } return LookupURL(parsedURL) @@ -80,12 +80,14 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { elems := make([]string, 0) dir := urlPath var file string + for dir != "" { // leading and trailing / symbols confuse path.Split() dir = strings.Trim(dir, "/") dir, file = path.Split(dir) elems = append(elems, file) } + slices.Reverse(elems) if len(elems) < 1 { @@ -96,11 +98,17 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { // to make other regal:// URLs later for other purposes, we don't cross // contaminate different subsystems. if elems[0] != "capabilities" { - return nil, fmt.Errorf("regal URL '%s' does not have 'capabilities' as it's first path element - did you mean to try to load capabilities from this URL?", parsedURL.String()) + return nil, fmt.Errorf( + "regal URL '%s' does not have 'capabilities' as it's first path element - did you mean to try to load capabilities from this URL?", + parsedURL.String(), + ) } if len(elems) > 3 { - return nil, fmt.Errorf("regal URL '%s' is malformed (too many path elements), expected regal://capabilities/{engine}[/{version}]", parsedURL.String()) + return nil, fmt.Errorf( + "regal URL '%s' is malformed (too many path elements), expected regal://capabilities/{engine}[/{version}]", + parsedURL.String(), + ) } if elems[1] == "default" { @@ -124,16 +132,29 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { versionsList, err := List() if err != nil { - return nil, fmt.Errorf("while processing regal URL '%s', failed to determine the latest version for engine '%s': %w", parsedURL.String(), engine, err) + return nil, fmt.Errorf( + "while processing regal URL '%s', failed to determine the latest version for engine '%s': %w", + parsedURL.String(), + engine, + err, + ) } versionsForEngine, ok := versionsList[engine] if !ok { - return nil, fmt.Errorf("while processing regal URL '%s', failed to determine the latest version for engine '%s': engine not found in embedded database", parsedURL.String(), engine) + return nil, fmt.Errorf( + "while processing regal URL '%s', failed to determine the latest version for engine '%s': engine not found in embedded database", + parsedURL.String(), + engine, + ) } if len(versionsForEngine) < 1 { - return nil, fmt.Errorf("while processing regal URL '%s', failed to determine the latest version for engine '%s': engine found in embedded database but has no versions associated with it", parsedURL.String(), engine) + return nil, fmt.Errorf( + "while processing regal URL '%s', failed to determine the latest version for engine '%s': engine found in embedded database but has no versions associated with it", + parsedURL.String(), + engine, + ) } version = versionsForEngine[0] @@ -141,9 +162,21 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { switch engine { case engineOPA: - return ast.LoadCapabilitiesVersion(version) + // This obtuse error handling is required to make the linter + // happy. + caps, err := ast.LoadCapabilitiesVersion(version) + if err != nil { + return nil, fmt.Errorf("failed to load capabilities due to error: %w", err) + } + + return caps, nil case engineEOPA: - return embedded.LoadCapabilitiesVersion(engineEOPA, version) + caps, err := embedded.LoadCapabilitiesVersion(engineEOPA, version) + if err != nil { + return nil, fmt.Errorf("failed to load capabilities due to error: %w", err) + } + + return caps, nil default: return nil, fmt.Errorf("engine '%s' not present in embedded capabilities database", engine) } @@ -152,19 +185,30 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { func lookupFileURL(parsedURL *url.URL) (*ast.Capabilities, error) { fd, err := os.Open(parsedURL.Path) if err != nil { - return nil, err + return nil, fmt.Errorf("error opening file '%s': %w", parsedURL.Path, err) + } + + caps, err := ast.LoadCapabilitiesJSON(fd) + if err != nil { + return nil, fmt.Errorf("failed to load capabilities due to error: %w", err) } - return ast.LoadCapabilitiesJSON(fd) + return caps, nil } func lookupWebURL(parsedURL *url.URL) (*ast.Capabilities, error) { resp, err := http.Get(parsedURL.String()) if err != nil { - return nil, err + return nil, fmt.Errorf("failed to get URL '%s': %w", parsedURL.String(), err) + } + defer resp.Body.Close() + + caps, err := ast.LoadCapabilitiesJSON(resp.Body) + if err != nil { + return nil, fmt.Errorf("failed to load capabilities due to error: %w", err) } - return ast.LoadCapabilitiesJSON(resp.Body) + return caps, nil } // semverSort uses the semver library to perform the string comparisons during @@ -205,7 +249,7 @@ func semverSort(stringVersions []string) { } if iValid && jValid { - return (*iVers).LessThan(*jVers) + return iVers.LessThan(*jVers) } // When i is valid semver and j is not, i always sorts first. @@ -237,12 +281,12 @@ func semverSort(stringVersions []string) { func List() (map[string][]string, error) { opaCaps, err := ast.LoadCapabilitiesVersions() if err != nil { - return nil, err + return nil, fmt.Errorf("failed to load capabilities due to error: %w", err) } eopaCaps, err := embedded.LoadCapabilitiesVersions(engineEOPA) if err != nil { - return nil, err + return nil, fmt.Errorf("failed to load capabilities due to error: %w", err) } semverSort(opaCaps) diff --git a/internal/capabilities/capabilities_test.go b/internal/capabilities/capabilities_test.go index 12102d7e..1bd7bdd2 100644 --- a/internal/capabilities/capabilities_test.go +++ b/internal/capabilities/capabilities_test.go @@ -1,12 +1,13 @@ package capabilities import ( - "fmt" "path/filepath" "testing" ) func TestLookupFromFile(t *testing.T) { + t.Parallel() + // Test that we are able to load a capabilities file using a file:// // URL. @@ -15,7 +16,7 @@ func TestLookupFromFile(t *testing.T) { t.Fatalf("could not determine absolute path to test capabilities file: %v", err) } - urlForPath := fmt.Sprintf("file://%s", path) + urlForPath := "file://" + path caps, err := Lookup(urlForPath) if err != nil { @@ -32,6 +33,8 @@ func TestLookupFromFile(t *testing.T) { } func TestLookupFromURL(t *testing.T) { + t.Parallel() + // Test that we can load a one of the existing OPA capabilities files // via GitHub. @@ -46,6 +49,8 @@ func TestLookupFromURL(t *testing.T) { } func TestLookupFromEmbedded(t *testing.T) { + t.Parallel() + // Test that we can load a one of the existing OPA capabilities files // via the embedded database. @@ -60,6 +65,8 @@ func TestLookupFromEmbedded(t *testing.T) { } func TestSemverSort(t *testing.T) { + t.Parallel() + cases := []struct { note string input []string diff --git a/internal/capabilities/embedded/embedded.go b/internal/capabilities/embedded/embedded.go index 038afada..04588098 100644 --- a/internal/capabilities/embedded/embedded.go +++ b/internal/capabilities/embedded/embedded.go @@ -49,6 +49,7 @@ func LoadCapabilitiesVersion(engine, version string) (*ast.Capabilities, error) return ast.LoadCapabilitiesJSON(bytes.NewReader(cont)) } } + return nil, fmt.Errorf("(Regal embedded %s capabilities library) no capabilities version found %v", engine, version) } @@ -63,5 +64,6 @@ func LoadCapabilitiesVersions(engine string) ([]string, error) { for _, ent := range ents { capabilitiesVersions = append(capabilitiesVersions, strings.Replace(ent.Name(), ".json", "", 1)) } + return capabilitiesVersions, nil } diff --git a/internal/lsp/completions/providers/builtins.go b/internal/lsp/completions/providers/builtins.go index 60561879..8572e786 100644 --- a/internal/lsp/completions/providers/builtins.go +++ b/internal/lsp/completions/providers/builtins.go @@ -16,7 +16,7 @@ func (*BuiltIns) Name() string { return "builtins" } -func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, opt *Options) ([]types.CompletionItem, error) { +func (*BuiltIns) Run(c *cache.Cache, params types.CompletionParams, _ *Options) ([]types.CompletionItem, error) { fileURI := params.TextDocument.URI lines, currentLine := completionLineHelper(c, fileURI, params.Position.Line) diff --git a/internal/lsp/rego/builtins.go b/internal/lsp/rego/builtins.go index da0968af..96ef84f4 100644 --- a/internal/lsp/rego/builtins.go +++ b/internal/lsp/rego/builtins.go @@ -8,8 +8,8 @@ import ( ) var ( - builtInsLock = &sync.RWMutex{} - builtIns = builtinMap(ast.CapabilitiesForThisVersion()) + builtInsLock = &sync.RWMutex{} //nolint:gochecknoglobals + builtIns = builtinMap(ast.CapabilitiesForThisVersion()) //nolint:gochecknoglobals ) // Update updates the builtins database with the provided capabilities. @@ -22,6 +22,7 @@ func UpdateBuiltins(caps *ast.Capabilities) { func GetBuiltins() map[string]*ast.Builtin { builtInsLock.RLock() defer builtInsLock.RUnlock() + return builtIns } diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 2cfb69e2..322b29b2 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -339,7 +339,7 @@ func (l *LanguageServer) StartConfigWorker(ctx context.Context) { } l.loadedConfigLock.Unlock() - // Capabilities URL may have changed, so we we should + // Capabilities URL may have changed, so we should // reload it. capsURL := l.loadedConfig.CapabilitiesURL if capsURL == "" { diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 2c124b7d..4e6aa30b 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -399,7 +399,10 @@ allow := neo4j.q foundNeo4j := false for _, itemI := range resp["items"].([]any) { - item := itemI.(map[string]any) + item, ok := itemI.(map[string]any) + if !ok { + t.Fatalf("completion item '%+v' was not a JSON object", itemI) + } t.Logf("completion label: %s", item["label"]) if item["label"] == "neo4j.query" { foundNeo4j = true diff --git a/pkg/config/config.go b/pkg/config/config.go index 919f5a03..1ed0632d 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -309,7 +309,11 @@ func (config *Config) UnmarshalYAML(value *yaml.Node) error { if capabilitiesFile != "" { absfp, err := filepath.Abs(capabilitiesFile) if err != nil { - return fmt.Errorf("unable to load capabilities from '%s', failed to determine absolute path: %w", capabilitiesFile, err) + return fmt.Errorf( + "unable to load capabilities from '%s', failed to determine absolute path: %w", + capabilitiesFile, + err, + ) } capabilitiesURL = "file://" + absfp From d11047e078b60a2b578b86fa9345c8569ebfcf1f Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 12:40:47 -0400 Subject: [PATCH 27/39] use some ... in in fetch task --- build/do.rq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/do.rq b/build/do.rq index f0561c29..55100995 100755 --- a/build/do.rq +++ b/build/do.rq @@ -254,7 +254,7 @@ fetch_eopa_caps { # they really have a need, they can manually download them and use the # file locally. - eopa_tags := {t | r := eopa_tags_result.stdout[_]; t := r[2] ; not known_bad_tags[t] ; not startswith(t, "v0.")} + eopa_tags := {t | some r in eopa_tags_result.stdout; t := r[2] ; not known_bad_tags[t] ; not startswith(t, "v0.")} # Get a directory listing for the capabilities directory, filtering for # only nonzero size files with JSON extensions. The size check is to @@ -304,7 +304,7 @@ fetch_eopa_caps { { rq.write(cap.content, {"format": "raw", "file_path": cap.local}) | - cap := new_caps[_] + some cap in new_caps } } From a8d944268836b823547e4b800abd293bca4a6061 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:17:27 -0400 Subject: [PATCH 28/39] fix remaining lint issues --- internal/capabilities/capabilities.go | 40 +++++++++++++------ internal/capabilities/capabilities_test.go | 10 +++-- internal/capabilities/embedded/embedded.go | 15 +++++-- .../capabilities/embedded/embedded_test.go | 2 + internal/lsp/server.go | 8 +++- internal/lsp/server_test.go | 12 +++++- pkg/config/config.go | 3 +- 7 files changed, 68 insertions(+), 22 deletions(-) diff --git a/internal/capabilities/capabilities.go b/internal/capabilities/capabilities.go index 5e10cfb4..1a7b3ed5 100644 --- a/internal/capabilities/capabilities.go +++ b/internal/capabilities/capabilities.go @@ -3,6 +3,7 @@ package capabilities import ( + "context" "fmt" "net/http" "net/url" @@ -44,23 +45,23 @@ const ( // // 'regal://capabilities/{engine}/{version}' loads the requested capabilities // version for the specified engine. -func Lookup(rawURL string) (*ast.Capabilities, error) { +func Lookup(ctx context.Context, rawURL string) (*ast.Capabilities, error) { parsedURL, err := url.Parse(rawURL) if err != nil { return nil, fmt.Errorf("failed to parse URL '%s': %w", rawURL, err) } - return LookupURL(parsedURL) + return LookupURL(ctx, parsedURL) } // LookupURL behaves identically to Lookup(), but allows using a pre-parsed // URL to avoid a needless round-trip through a string. -func LookupURL(parsedURL *url.URL) (*ast.Capabilities, error) { +func LookupURL(ctx context.Context, parsedURL *url.URL) (*ast.Capabilities, error) { switch parsedURL.Scheme { case "http": - return lookupWebURL(parsedURL) + return lookupWebURL(ctx, parsedURL) case "https": - return lookupWebURL(parsedURL) + return lookupWebURL(ctx, parsedURL) case "file": return lookupFileURL(parsedURL) case "regal": @@ -79,6 +80,7 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { urlPath = path.Clean(urlPath) elems := make([]string, 0) dir := urlPath + var file string for dir != "" { @@ -99,14 +101,16 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { // contaminate different subsystems. if elems[0] != "capabilities" { return nil, fmt.Errorf( - "regal URL '%s' does not have 'capabilities' as it's first path element - did you mean to try to load capabilities from this URL?", + "regal URL '%s' does not have 'capabilities' as it's first path element "+ + "- did you mean to try to load capabilities from this URL?", parsedURL.String(), ) } if len(elems) > 3 { return nil, fmt.Errorf( - "regal URL '%s' is malformed (too many path elements), expected regal://capabilities/{engine}[/{version}]", + "regal URL '%s' is malformed (too many path elements), "+ + "expected regal://capabilities/{engine}[/{version}]", parsedURL.String(), ) } @@ -117,6 +121,7 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { engine := elems[1] version := "" + if len(elems) == 3 { version = elems[2] } else { @@ -129,7 +134,6 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { // an issue today. But in future we may need to expand List() // so that it filters to only a specific engine or something to // that effect. - versionsList, err := List() if err != nil { return nil, fmt.Errorf( @@ -143,7 +147,8 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { versionsForEngine, ok := versionsList[engine] if !ok { return nil, fmt.Errorf( - "while processing regal URL '%s', failed to determine the latest version for engine '%s': engine not found in embedded database", + "while processing regal URL '%s', failed to determine "+ + "the latest version for engine '%s': engine not found in embedded database", parsedURL.String(), engine, ) @@ -151,7 +156,9 @@ func lookupEmbeddedURL(parsedURL *url.URL) (*ast.Capabilities, error) { if len(versionsForEngine) < 1 { return nil, fmt.Errorf( - "while processing regal URL '%s', failed to determine the latest version for engine '%s': engine found in embedded database but has no versions associated with it", + "while processing regal URL '%s', failed to determine the "+ + "latest version for engine '%s': engine found in embedded "+ + "database but has no versions associated with it", parsedURL.String(), engine, ) @@ -196,8 +203,15 @@ func lookupFileURL(parsedURL *url.URL) (*ast.Capabilities, error) { return caps, nil } -func lookupWebURL(parsedURL *url.URL) (*ast.Capabilities, error) { - resp, err := http.Get(parsedURL.String()) +func lookupWebURL(ctx context.Context, parsedURL *url.URL) (*ast.Capabilities, error) { + req, err := http.NewRequestWithContext(ctx, http.MethodGet, parsedURL.String(), nil) + if err != nil { + return nil, fmt.Errorf("failed to create HTTP request for URL '%s': %w", parsedURL.String(), err) + } + + client := &http.Client{} + + resp, err := client.Do(req) if err != nil { return nil, fmt.Errorf("failed to get URL '%s': %w", parsedURL.String(), err) } @@ -230,6 +244,7 @@ func semverSort(stringVersions []string) { if !ok { var err error iVers, err = semver.NewVersion(iStr) + if err != nil { iValid = false } else { @@ -241,6 +256,7 @@ func semverSort(stringVersions []string) { if !ok { var err error jVers, err = semver.NewVersion(jStr) + if err != nil { jValid = false } else { diff --git a/internal/capabilities/capabilities_test.go b/internal/capabilities/capabilities_test.go index 1bd7bdd2..b525a9c8 100644 --- a/internal/capabilities/capabilities_test.go +++ b/internal/capabilities/capabilities_test.go @@ -1,6 +1,7 @@ package capabilities import ( + "context" "path/filepath" "testing" ) @@ -18,7 +19,7 @@ func TestLookupFromFile(t *testing.T) { urlForPath := "file://" + path - caps, err := Lookup(urlForPath) + caps, err := Lookup(context.Background(), urlForPath) if err != nil { t.Errorf("unexpected error from Lookup: %v", err) } @@ -38,7 +39,10 @@ func TestLookupFromURL(t *testing.T) { // Test that we can load a one of the existing OPA capabilities files // via GitHub. - caps, err := Lookup("https://raw.githubusercontent.com/open-policy-agent/opa/main/capabilities/v0.55.0.json") + caps, err := Lookup( + context.Background(), + "https://raw.githubusercontent.com/open-policy-agent/opa/main/capabilities/v0.55.0.json", + ) if err != nil { t.Errorf("unexpected error from Lookup: %v", err) } @@ -54,7 +58,7 @@ func TestLookupFromEmbedded(t *testing.T) { // Test that we can load a one of the existing OPA capabilities files // via the embedded database. - caps, err := Lookup("regal:///capabilities/opa/v0.55.0") + caps, err := Lookup(context.Background(), "regal:///capabilities/opa/v0.55.0") if err != nil { t.Errorf("unexpected error from Lookup: %v", err) } diff --git a/internal/capabilities/embedded/embedded.go b/internal/capabilities/embedded/embedded.go index 04588098..c05cde1b 100644 --- a/internal/capabilities/embedded/embedded.go +++ b/internal/capabilities/embedded/embedded.go @@ -43,10 +43,15 @@ func LoadCapabilitiesVersion(engine, version string) (*ast.Capabilities, error) if cv == version { cont, err := FS.ReadFile("eopa/" + cv + ".json") if err != nil { - return nil, err + return nil, fmt.Errorf("failed to open capabilities version '%s' for engine '%s': %w", cv, engine, err) } - return ast.LoadCapabilitiesJSON(bytes.NewReader(cont)) + caps, err := ast.LoadCapabilitiesJSON(bytes.NewReader(cont)) + if err != nil { + return nil, fmt.Errorf("failed to load capabilities version '%s' for engine '%s': %w", cv, engine, err) + } + + return caps, nil } } @@ -57,7 +62,11 @@ func LoadCapabilitiesVersion(engine, version string) (*ast.Capabilities, error) func LoadCapabilitiesVersions(engine string) ([]string, error) { ents, err := FS.ReadDir(engine) if err != nil { - return nil, err + return nil, fmt.Errorf( + "failed to embedded capabilities directory for engine '%s' (does the engine exist?): %w", + engine, + err, + ) } capabilitiesVersions := make([]string, 0, len(ents)) diff --git a/internal/capabilities/embedded/embedded_test.go b/internal/capabilities/embedded/embedded_test.go index fbddfc6e..08240d96 100644 --- a/internal/capabilities/embedded/embedded_test.go +++ b/internal/capabilities/embedded/embedded_test.go @@ -3,6 +3,8 @@ package embedded import "testing" func TestEmbeddedEOPA(t *testing.T) { + t.Parallel() + // As of 2024-08-27, there are 47 capabilities files in the EOPA repo. // It follows that there should never be less than 47 valid // capabilities in the embedded database. This is really just a sanity diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 322b29b2..6b82a210 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -332,25 +332,31 @@ func (l *LanguageServer) StartConfigWorker(ctx context.Context) { // if the config is now blank, then we need to clear it l.loadedConfigLock.Lock() + if errors.Is(err, io.EOF) { l.loadedConfig = nil } else { l.loadedConfig = &mergedConfig } + l.loadedConfigLock.Unlock() // Capabilities URL may have changed, so we should // reload it. capsURL := l.loadedConfig.CapabilitiesURL + if capsURL == "" { // This can happen if we have an empty config. capsURL = "regal:///capabilities/default" } - caps, err := capabilities.Lookup(capsURL) + + caps, err := capabilities.Lookup(ctx, capsURL) if err != nil { l.logError(fmt.Errorf("failed to lookup capabilities: %w", err)) + return } + rego.UpdateBuiltins(caps) // the config may now ignore files that existed in the cache before, diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 4e6aa30b..434b21ad 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -356,7 +356,6 @@ allow := neo4j.q var success bool select { case requestData := <-receivedMessages: - if requestData.URI != mainRegoURI { t.Logf("expected diagnostics to be sent for main.rego, got %s", requestData.URI) @@ -393,17 +392,26 @@ allow := neo4j.q Character: 16, }, }, &resp) + if err != nil { t.Fatalf("failed to send completion notification: %s", err) } foundNeo4j := false - for _, itemI := range resp["items"].([]any) { + itemsList, ok := resp["items"].([]any) + + if !ok { + t.Fatalf("failed to cast resp[items] to []any") + } + + for _, itemI := range itemsList { item, ok := itemI.(map[string]any) if !ok { t.Fatalf("completion item '%+v' was not a JSON object", itemI) } + t.Logf("completion label: %s", item["label"]) + if item["label"] == "neo4j.query" { foundNeo4j = true } diff --git a/pkg/config/config.go b/pkg/config/config.go index 1ed0632d..1c54cc14 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1,6 +1,7 @@ package config import ( + "context" "errors" "fmt" "os" @@ -323,7 +324,7 @@ func (config *Config) UnmarshalYAML(value *yaml.Node) error { capabilitiesURL = "regal:///capabilities/default" } - opaCaps, err := capabilities.Lookup(capabilitiesURL) + opaCaps, err := capabilities.Lookup(context.Background(), capabilitiesURL) if err != nil { return fmt.Errorf("failed to load capabilities: %w", err) } From 4d0b937bb67e508740b50802a06652a922bf4be6 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:33:49 -0400 Subject: [PATCH 29/39] fix lint issue with main.rego --- bundle/regal/main/main.rego | 2 -- 1 file changed, 2 deletions(-) diff --git a/bundle/regal/main/main.rego b/bundle/regal/main/main.rego index 2229419a..09b60ceb 100644 --- a/bundle/regal/main/main.rego +++ b/bundle/regal/main/main.rego @@ -41,8 +41,6 @@ grouped_notices[category][title] contains notice if { # description: | # This is the main entrypoint for linting, The report rule runs all rules against an input AST and produces a report # scope: document - -# METADATA # entrypoint: true report contains violation if { not is_object(input) From 723c0576aa0d9434a8dfd259b8d67fbe7aa76a25 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:40:13 -0400 Subject: [PATCH 30/39] remove scope:document from report The CI indicates that this is not allowed. --- bundle/regal/main/main.rego | 1 - 1 file changed, 1 deletion(-) diff --git a/bundle/regal/main/main.rego b/bundle/regal/main/main.rego index 09b60ceb..0b7c8b4f 100644 --- a/bundle/regal/main/main.rego +++ b/bundle/regal/main/main.rego @@ -40,7 +40,6 @@ grouped_notices[category][title] contains notice if { # title: report # description: | # This is the main entrypoint for linting, The report rule runs all rules against an input AST and produces a report -# scope: document # entrypoint: true report contains violation if { not is_object(input) From eda0a237a89be49b08c436bd25c9b66b499c84dd Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:42:40 -0400 Subject: [PATCH 31/39] format server_test --- internal/lsp/server_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 434b21ad..f562d31e 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -392,7 +392,6 @@ allow := neo4j.q Character: 16, }, }, &resp) - if err != nil { t.Fatalf("failed to send completion notification: %s", err) } From fc39b641645e9b1224152dd3db8d213b7dda21f2 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:44:57 -0400 Subject: [PATCH 32/39] restore metadata for report --- bundle/regal/main/main.rego | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundle/regal/main/main.rego b/bundle/regal/main/main.rego index 0b7c8b4f..2229419a 100644 --- a/bundle/regal/main/main.rego +++ b/bundle/regal/main/main.rego @@ -40,6 +40,9 @@ grouped_notices[category][title] contains notice if { # title: report # description: | # This is the main entrypoint for linting, The report rule runs all rules against an input AST and produces a report +# scope: document + +# METADATA # entrypoint: true report contains violation if { not is_object(input) From 52dc471632e130021a0ea32c31b96dc01007d203 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:57:13 -0400 Subject: [PATCH 33/39] fix lint issue --- internal/lsp/server_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index f562d31e..434b21ad 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -392,6 +392,7 @@ allow := neo4j.q Character: 16, }, }, &resp) + if err != nil { t.Fatalf("failed to send completion notification: %s", err) } From caf086010bc1cd2721a4831274d88fac73648cdb Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 15:59:41 -0400 Subject: [PATCH 34/39] format server_test --- internal/lsp/server_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 434b21ad..f562d31e 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -392,7 +392,6 @@ allow := neo4j.q Character: 16, }, }, &resp) - if err != nil { t.Fatalf("failed to send completion notification: %s", err) } From 03376bca6f20e3c5f6b11178275ae174a5800d53 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 16:04:49 -0400 Subject: [PATCH 35/39] use nolint to make golint stop complaining --- internal/lsp/server_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index f562d31e..2c92bdb2 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -392,6 +392,9 @@ allow := neo4j.q Character: 16, }, }, &resp) + //nolint:wsl + // NOTE(charles): gofumpt does not want a space here, but golint + // requires one to be present. if err != nil { t.Fatalf("failed to send completion notification: %s", err) } From dbfd68c6b1219304e8f498ad6d8ed88e589ec27d Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Wed, 28 Aug 2024 16:27:23 -0400 Subject: [PATCH 36/39] explicitly wait for builtins map to update --- internal/lsp/server_test.go | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index 2c92bdb2..fee98fe6 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -17,6 +17,7 @@ import ( "github.com/anderseknert/roast/pkg/encoding" "github.com/sourcegraph/jsonrpc2" + "github.com/styrainc/regal/internal/lsp/rego" "github.com/styrainc/regal/internal/lsp/types" ) @@ -326,6 +327,37 @@ capabilities: } } + // NOTE(charles): the configuration is updated asynchronously from the + // thread the test is running in. This check prevents a race condition + // where the completion test runs before rego.builtIns is updated which + // was causing flaky tests in CI. + timeout = time.NewTimer(defaultTimeout) + defer timeout.Stop() + + for { + success := false + + select { + case <-timeout.C: + t.Fatalf("timed out waiting for builtins map to be updated") + default: + bis := rego.GetBuiltins() + + // Search for a builtin we know is only in the EOPA capabilities. + if _, ok := bis["startswith"]; ok { + success = true + } else { + // If we hammer the mutex too hard, it may never + // get a chance to be updated. + time.Sleep(100 * time.Millisecond) + } + } + + if success { + break + } + } + // 6. Client sends textDocument/didChange notification with new // contents for main.rego no response to the call is expected. We added // the start of an EOPA-specific call, so if the capabilities were From e8935487986882e6360c8b9de3b4b08d747e2e2f Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Thu, 29 Aug 2024 11:06:07 -0400 Subject: [PATCH 37/39] implement PR review suggestions --- README.md | 44 +++++++++---------- build/do.rq | 40 +++++++++++------ .../capabilities_integration_test.go | 30 +++++++++++++ internal/capabilities/capabilities_test.go | 19 -------- 4 files changed, 79 insertions(+), 54 deletions(-) create mode 100644 internal/capabilities/capabilities_integration_test.go diff --git a/README.md b/README.md index 94860716..4a82785d 100644 --- a/README.md +++ b/README.md @@ -365,28 +365,6 @@ reached. If no configuration file is found, Regal will use the default configura A custom configuration may be also be provided using the `--config-file`/`-c` option for `regal lint`, which when provided will be used to override the default configuration. -### Loading Capabilities from URLs - -Starting with Regal version TODO, Regal can load capabilities from URLs with -the `file`, `http`, or `https` schemes using the `capabilities.from.url` config -key. For example, to load capabilities from -`https://example.org/capabilities.json`, this configuration could be used: - -```yaml -capabilities: - from: - url: https://example.org/capabilities.json -``` - -### Supported Engines - -Regal includes capabilities files for the following engines: - -| Engine | Website | Description | -|--------|---------|-------------| -| `opa` | [OPA website](https://www.openpolicyagent.org/) | Open Policy Agent | -| `eopa` | [Enterprise OPA website](https://www.styra.com/enterprise-opa/) | Styra Enterprise OPA | - ## Ignoring Rules If one of Regal's rules doesn't align with your team's preferences, don't worry! Regal is not meant to be the law, @@ -588,6 +566,28 @@ capabilities: type: object ``` +### Loading Capabilities from URLs + +Starting with Regal version TODO, Regal can load capabilities from URLs with +the `http`, or `https` schemes using the `capabilities.from.url` config key. +For example, to load capabilities from `https://example.org/capabilities.json`, +this configuration could be used: + +```yaml +capabilities: + from: + url: https://example.org/capabilities.json +``` + +### Supported Engines + +Regal includes capabilities files for the following engines: + +| Engine | Website | Description | +|--------|---------|-------------| +| `opa` | [OPA website](https://www.openpolicyagent.org/) | Open Policy Agent | +| `eopa` | [Enterprise OPA website](https://www.styra.com/enterprise-opa/) | Styra Enterprise OPA | + ## Exit Codes Exit codes are used to indicate the result of the `lint` command. The `--fail-level` provided for `regal lint` may be diff --git a/build/do.rq b/build/do.rq index 55100995..c952639a 100755 --- a/build/do.rq +++ b/build/do.rq @@ -162,6 +162,7 @@ test { e2e { run("go test -tags e2e ./e2e") + run("go test -tags integration ./internal/capabilities") } lint { @@ -236,13 +237,12 @@ fetch_eopa_caps { } ) - { rq.error(sprintf("\nstdout: %s\nstderr: %s\n", [eopa_tags_result.stdout, eopa_tags_result.stderr])) | eopa_tags_result.exitcode != 0 } - + error_nonzero(eopa_tags_result, "failed to fetch tags from GitHub") # We assume that tags and capabilities files are 1:1, but some EOPA # release tags in the past did not correctly get capabilities files, so # we eliminate them from consideration. - + known_bad_tags := { "v1.15.0", # tag missing capabilities file (misnamed v0.15.0) "v1.4.1", # tag missing capabilities file @@ -254,13 +254,26 @@ fetch_eopa_caps { # they really have a need, they can manually download them and use the # file locally. - eopa_tags := {t | some r in eopa_tags_result.stdout; t := r[2] ; not known_bad_tags[t] ; not startswith(t, "v0.")} + eopa_tags := { + t + | + some r in eopa_tags_result.stdout + t := r[2] + not known_bad_tags[t] + not startswith(t, "v0.") + } # Get a directory listing for the capabilities directory, filtering for # only nonzero size files with JSON extensions. The size check is to # avoid long-tail edge cases where we crashed after opening the file # for writing but before committing any content. - eopa_caps_tree := {p: f | f := rq.tree(eopa_caps_dir, {})[p]; f.size != 0; f.ext == "json"} + eopa_caps_tree := { + p: f + | + f := rq.tree(eopa_caps_dir, {})[p] + f.size != 0 + f.ext == "json" + } # Determine which capabilities files are missing, what URL they # should be fetched from, and where they should end up on disk. @@ -273,10 +286,7 @@ fetch_eopa_caps { t := eopa_tags[_] p := rq.joinpath([eopa_caps_dir, sprintf("%s.json", [t])]) - # eopa_caps_tree has object values, so if the path is missing, - # retrieving a non-object type is sufficient to check for - # nonexistance - object.get(eopa_caps_tree, p, "-") == "-" + not eopa_caps_tree[p] # construct the URL to fetch the content from r := rq.template("https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/capabilities/{{.tag}}.json", {"tag": t}) @@ -291,13 +301,10 @@ fetch_eopa_caps { m := missing_locally[_] print("\tfetching ", m.remote) resp := http.send({"url": m.remote, "method": "GET"}) - + { rq.error(sprintf("non-200 status code '%d' for URL '%s'", [resp.status_code, m.remote])) | resp.status_code != 200 } c := resp.raw_body - - # sanity check in case we got the URL wrong - not regex.match("404: Not Found", c) } # Commit the retrieved content to disk. @@ -372,3 +379,10 @@ github(what, j) { } else := true is_github if rq.env().GITHUB_ACTION + +error_nonzero(run_result, message) if { + run_result.exitcode != 0 + rq.error(sprintf("%s\nstdout:%s\nstderr:\n%s\n", [message, run_result.stdout, run_result.stderr])) +} else { + true +} diff --git a/internal/capabilities/capabilities_integration_test.go b/internal/capabilities/capabilities_integration_test.go new file mode 100644 index 00000000..ec36b019 --- /dev/null +++ b/internal/capabilities/capabilities_integration_test.go @@ -0,0 +1,30 @@ +//go:build integration +// +build integration + +package capabilities + +import ( + "context" + "testing" +) + +// Since this test requires internet access, we hide it behind a flag. + +func TestLookupFromURL(t *testing.T) { + t.Parallel() + + // Test that we can load a one of the existing OPA capabilities files + // via GitHub. + + caps, err := Lookup( + context.Background(), + "https://raw.githubusercontent.com/open-policy-agent/opa/main/capabilities/v0.55.0.json", + ) + if err != nil { + t.Errorf("unexpected error from Lookup: %v", err) + } + + if len(caps.Builtins) != 193 { + t.Errorf("OPA v0.55.0 capabilities should have 193 builtins, not %d", len(caps.Builtins)) + } +} diff --git a/internal/capabilities/capabilities_test.go b/internal/capabilities/capabilities_test.go index b525a9c8..836ca163 100644 --- a/internal/capabilities/capabilities_test.go +++ b/internal/capabilities/capabilities_test.go @@ -33,25 +33,6 @@ func TestLookupFromFile(t *testing.T) { } } -func TestLookupFromURL(t *testing.T) { - t.Parallel() - - // Test that we can load a one of the existing OPA capabilities files - // via GitHub. - - caps, err := Lookup( - context.Background(), - "https://raw.githubusercontent.com/open-policy-agent/opa/main/capabilities/v0.55.0.json", - ) - if err != nil { - t.Errorf("unexpected error from Lookup: %v", err) - } - - if len(caps.Builtins) != 193 { - t.Errorf("OPA v0.55.0 capabilities should have 193 builtins, not %d", len(caps.Builtins)) - } -} - func TestLookupFromEmbedded(t *testing.T) { t.Parallel() From d6a4e98f76566f8bf013bc1102709bac4563efea Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Thu, 29 Aug 2024 11:31:38 -0400 Subject: [PATCH 38/39] temporarily increase server_test timeout --- internal/lsp/server_test.go | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index fee98fe6..ebaa467f 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -26,7 +26,8 @@ const mainRegoFileName = "/main.rego" // defaultTimeout is set based on the investigation done as part of // https://github.com/StyraInc/regal/issues/931. 20 seconds is 10x the // maximum time observed for an operation to complete. -const defaultTimeout = 20 * time.Second +// const defaultTimeout = 20 * time.Second +const defaultTimeout = 60 * time.Second const defaultBufferedChannelSize = 5 @@ -81,12 +82,8 @@ allow = true ` files := map[string]string{ - "main.rego": mainRegoContents, - ".regal/config.yaml": ` -rules: - idiomatic: - directory-package-mismatch: - level: ignore`, + "main.rego": mainRegoContents, + ".regal/config.yaml": ``, } for f, fc := range files { @@ -237,9 +234,6 @@ allow := true // 4. Client sends workspace/didChangeWatchedFiles notification with new config newConfigContents := ` rules: - idiomatic: - directory-package-mismatch: - level: ignore style: opa-fmt: level: ignore @@ -495,10 +489,6 @@ users = {"alice", "bob"} foo = 1 `, ".regal/config.yaml": ` -rules: - idiomatic: - directory-package-mismatch: - level: ignore ignore: files: - ignored/*.rego @@ -744,9 +734,6 @@ allow := true files := map[string]string{ childDirName + mainRegoFileName: mainRegoContents, ".regal/config.yaml": `rules: - idiomatic: - directory-package-mismatch: - level: ignore style: opa-fmt: level: error @@ -843,9 +830,6 @@ allow := true // User updates config file contents in parent directory that is not // part of the workspace newConfigContents := `rules: - idiomatic: - directory-package-mismatch: - level: ignore style: opa-fmt: level: ignore From d3f1f15f3efbf1158d3e98a7930253194b65066b Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Thu, 29 Aug 2024 11:39:25 -0400 Subject: [PATCH 39/39] Revert "temporarily increase server_test timeout" This reverts commit d6a4e98f76566f8bf013bc1102709bac4563efea. --- internal/lsp/server_test.go | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/internal/lsp/server_test.go b/internal/lsp/server_test.go index ebaa467f..fee98fe6 100644 --- a/internal/lsp/server_test.go +++ b/internal/lsp/server_test.go @@ -26,8 +26,7 @@ const mainRegoFileName = "/main.rego" // defaultTimeout is set based on the investigation done as part of // https://github.com/StyraInc/regal/issues/931. 20 seconds is 10x the // maximum time observed for an operation to complete. -// const defaultTimeout = 20 * time.Second -const defaultTimeout = 60 * time.Second +const defaultTimeout = 20 * time.Second const defaultBufferedChannelSize = 5 @@ -82,8 +81,12 @@ allow = true ` files := map[string]string{ - "main.rego": mainRegoContents, - ".regal/config.yaml": ``, + "main.rego": mainRegoContents, + ".regal/config.yaml": ` +rules: + idiomatic: + directory-package-mismatch: + level: ignore`, } for f, fc := range files { @@ -234,6 +237,9 @@ allow := true // 4. Client sends workspace/didChangeWatchedFiles notification with new config newConfigContents := ` rules: + idiomatic: + directory-package-mismatch: + level: ignore style: opa-fmt: level: ignore @@ -489,6 +495,10 @@ users = {"alice", "bob"} foo = 1 `, ".regal/config.yaml": ` +rules: + idiomatic: + directory-package-mismatch: + level: ignore ignore: files: - ignored/*.rego @@ -734,6 +744,9 @@ allow := true files := map[string]string{ childDirName + mainRegoFileName: mainRegoContents, ".regal/config.yaml": `rules: + idiomatic: + directory-package-mismatch: + level: ignore style: opa-fmt: level: error @@ -830,6 +843,9 @@ allow := true // User updates config file contents in parent directory that is not // part of the workspace newConfigContents := `rules: + idiomatic: + directory-package-mismatch: + level: ignore style: opa-fmt: level: ignore